cron

  1. D

    SOLVED Cron Job Not Working

    I recently installed Cpanel and want to know on how can I grant permissions via WHM to a re-seller account of root. I am running an App. It was fine on the other server and is causing issues since I have moved to a new server and installed CPANEL on CentOS 6.9. Ufortunately, the server...
  2. R

    Cron Dameon emails -ambiguous redirect

    I keep getting emails from my server from "cron Daemon" with the subject: Cron <[email protected]> /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&[email protected] /usr/local/cpanel/bin/onboot_handler The only content of the email is: /bin/bash: [email protected]: ambiguous redirect I can't figure out...
  3. A

    WHMCS cron job not working error - jailshell/5: command not found

    Hello, I am having trouble getting a cron job to work. It is the only one I am using and it is the one to run the automated settings in WHMCS (process invoices, etc). I am getting this message emailed to me every time the cron tries to run. /usr/local/cpanel/bin/jailshell: 5: command not found...
  4. A

    User cron jobs not being logged

    I know the cronjobs are running since the scripts themselves generate various logs and alter certain things, all of this is easily verified. I looked around a bit and the cron log is supposed to be at /var/log/cron Sure enough, there is a file there and it has entries, but only for root user...
  5. I

    Not allowed to create cron jobs (pam config)

    Hi, i get this error on some accounts when i try to create a cron job. Error You ("name of the account") are not allowed to access to (crontab) because of pam configuration. Can i solve it via whm? thanks for your help.
  6. O

    Automatic Time Syncronisation Cron?

    Hi Guys, My server time seems to go off whenever there is a restart/downtime. Now - this doesnt happen often (as it shouldnt) - but thats when it appears to happen. For example, this weekend we took down the server to upgrade the memory. Today when I checked, I noticed it was 1-2 hrs behind. A...
  7. S

    Cron Job Keeps Changing...

    I have a cron job that runs a PHP script, which automatically checks an email inbox, with email notifications. The problem is that every half hour my command keeps changing from this: /usr/bin/php -q /home/username/chat/cod/email.php [This runs every minute] to this: nice -n19 ionice -c2...
  8. joaosavioli

    Custom php.ini cron jobs don´t work

    Hi, I´m trying to use a custom php.ini for cron jobs, but php ignore my php.ini and use global settings. [email protected] [~]# /opt/cpanel/ea-php56/root/usr/bin/php -c php.ini -i | grep memory_limit memory_limit => 256M => 256M [email protected] [~]# cat php.ini ; cPanel-generated php ini...
  9. Jeff P.

    Transfer Tool - Acct Cron not running after move.

    I used the transfer tool to move and now an account cron jobs are not running. However, they are all in the control panel.
  10. G

    SOLVED How to create a cron job? Beginner

    I want to create a cron job that can do a Session Garbage Collection, and it is recommended by php.net, here is the page from php.net (EXAMPLE #1) PHP: session_gc - Manual. I don't have a good knowledge about Linux's commands. Please help me, I need it, thanks. EDIT: In Cron Jobs -...
  11. B

    Start and stop cron job manually on shared host

    I'm on a shared hosting plan at Bluehost and set up cron jobs through the cpanel cron job tab. I'm able to specify the periodicity and issue a command to trigger the php script. Is there a way from PHP to issue a cron job and set the periodicity and also from PHP to remove the cron job? Could...
  12. M

    cron job path is not working

    hi i have set cronjob path for my website but its not working i dont know what is issue actually i fresh install cpanel and just compile fresh apache4 nothing else and import my website from other server to this one put my this path in cron job and not working here is my current path of cron...
  13. B

    cron email every morning

    Every morning I get a cron email titled "Cron <[email protected]> yum clean all; yum update -y" it has the contents of Loaded plugins: fastestmirror, priorities, security Cleaning repos: kernelcare stable-arch stable-generic stable-noarch system-base : system-extras...
  14. K

    Cron job not working for 1 user

    Hello, I have a cPanel user/account whose cron job is not working as expected. I tried the script and set up a cron job on another user/account and it worked fine with output sent to email. Please advise how to troubleshoot this. Thank you!
  15. H

    Cron is creating empty files, how to stop this?

    Hello to everyone, I'm using Cron from cPanel to complete some automatic tasks to my website , i have setup the cron command like this : * * * * * wget -q https://www.mydomain.com/cron/WonProductNotification >/dev/null 2>&1 and each time it's completing the task it's creating files like...
  16. J

    Get upcp cron update emails only on erro

    I'm sick and tired of getting the upcp update cron emails every day. A major frustration is is when I do keyword searches in my Outlook, I always get these emails as matching as there is SO much text in them. (Yes, one solution would be to create an Outlook rule to permanently delete these...
  17. A

    Can't get Cron job to run

    I'm attempting to get this simple Cron command to run from the Cron jobs panel. ** * * * * find /home/CPANELUSERNAME/public_html -mtime -1 \! -type d -ls The purpose of the command is to alert me when a file changes. CPANELUSERNAME has been changed to my user name and I have set an email...
  18. leonep

    Cron Job You cannot run this code as root

    Hi, I have updated to whm/cpanel 62. All is ok but after cron job i have reiceved 1 error. [email protected] [~]# /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify Cpanel::Exception::RootProhibited/(XID uzxbtb) Non è possibile eseguire questo codice come root. You cannot run this...
  19. S

    All cron jobs removed

    So I just migrated all the cpanel accounts from one server to another and there was one account with a cronjob that was pointing to somewhere that didn't exist, so I went into that user's control panel and deleted it. I went into list the root's cron jobs and no nothing exists. I know about...
  20. U

    User Cron doesn't seem to be working

    For months now I have been trying to figure out why the user cron is not working, I am running CENTOS 7.3 x86_64 standard –WHM 60.0 (build 35) with PHP 5.5.38. The user cron that was working fine up until Oct 2016 is: */2 * * * * php -q /home/user/public_html/hosting/cron/cronjob.php In the...