cron

  1. Z

    Cron job stopped working

    Hello, I have a PHP cron job that is set to fetch emails from my email address to a CRM. It was working fine earlier but suddenly it stopped working. Not sure why. However, when I run the PHP script manually by accessing it via domain based link, the script runs and does its job. But I have...
  2. C

    Problem running cron job

    Hi, I try to run a cron job in cpanel version 78 and PHP 7.1 but have no success. When running it from a browser it works flawlessly. example.com/template/temp/test.php But inside cpanel nothing happens. I even not get any *error mail* ;-) Have tried with these different versions of code...
  3. T

    Overwrite all 1 minute cron jobs?

    Hello cPanel Community. Is there a command that will overwrite all users 1 minute cron jobs to 5 minutes? There have been many questions on this in the past but no answer provided. I can see some providers already have removes the 1 minute from the drop list and some providers are overwriting...
  4. P

    Cron Jobs not Working

    I installed cpanel on Google cloud with WHM and I am Trying to Run Cron Jobs For A Software Called Mautic I am Using this Path Format /usr/local/bin/php /home/[username]/public_html/mautic/app/console mautic:segments:update But the Cron Jobs Are Not running. I have updated email notification...
  5. L

    cron job disappearing

    Hello I have a drupal 8 website and I need to run the drupal cron every night at midnight So I created a cron job into cpanel that looks like this: wget -q https://xxxxxxxx.com/cron/xxxxxxxxxxxxxxxxxxxxxxxxxx > /dev/null 2>&1 The issue is that the crob job ends up disappearing from the...
  6. S

    Check if apache is running from cron?

    Anyone know the easiest way to check if apache is still running on my cPanel v76.0.18 server and if not run it from cron?
  7. chanklish

    mailchannels cron notification?

    hello i am receiving notifications emails with the following : /etc/cron.daily/mailchannelscron: Warning: replace is deprecated and will be removed in a future version. what is it exactly ?!
  8. R

    Questions about a specific cron job

    Our server runs CentOS 6.10 KVM, cPanel/WHM version: v76.0.20. The subject cron runs every day. We have a couple of question about this. <[email protected]> /usr/bin/yum -y -R 120 -d 0 -e 0 update 1. We have the upcp script running every day which appears to run yum. Is this so and if so is...
  9. S

    Cron Job not working for user

    Hi, cron jobs not working for users' cpanel I've tried /usr/local/bin/ea-php56 /home/garnish/public_html/backstage/share_add_popul.php /home/garnish/public_html/backstage/share_add_popul.php /usr/local/bin/php /home/garnish/public_html/backstage/share_add_popul.php php...
  10. leonep

    Cron header redirect

    Hi , I am trasfering a web project to my Cpanel hosting. i got problem with a php cron script that uses php header location redirect. the cron php script interrupts and redirect not work on destination page. The customer told me that on previous hosting works fine ( with same php file ) this...
  11. V

    Users cannot use WP-CLI in cron

    Hello, I installed WP-CLI from root, I can use it from a user's terminal without problems, but when I want to use it in CRON, I get the following errors: PHP Warning: Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in...
  12. R

    Cron: jailshell - No such file or directory

    A cron that has been running for many years has suddenly stopped working with this error: /usr/local/cpanel/bin/jailshell: https://www.xxxxxxxx.net.au/coin_cron/bills.php: No such file or directory bills.php is still here, so what am I doing wrong? Any assistance would be greatly appreciated.
  13. N

    SOLVED Cron Job execute curl only if file has been modified

    Hi I need to execute a command in cron job, but only if a file has been touched. Currently, my cron command is: curl "..." where "..." is my target link. I am new to this but I did manage to find something online. Hoping that someone with experience can confirm that the command below is...
  14. L

    Cron job will run via shell but not the user account

    Hi All hope you can help i have hit a bit of a confusing issue. I have a cron job setup on a user that does not seem to run, if I apply shell access to the user then the cron will run fine however with jailed shell or no shell it will not run. The same cron is in place on other users without...
  15. baronn

    SOLVED [CPANEL-23812] update_db_cache cron job failing

    Hello, whm/cpanelupdated during the night to v76.0.4 and now I am getting these cron emails from the system: Cpanel::Exception::Database::Error/(XID f5zcyk) The system received an error from the “MySQL” database “mysql”: 1053 (Server shutdown in progress) at...
  16. G

    Adding > /dev/null 2>&1 to cron

    I had this line 26 0 * * * (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron) And changed to in order to stop upcp emails: 26 0 * * * (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron > /dev/null 2>&1) Is this the correct way?
  17. M

    SOLVED Configuring CRON To Run At Random Times

    I'm working on a new project and I would like to setup a cron to run every 6-8 hours at a random minute. Any suggestions on the best way to achieve this would be greatly appreciated.
  18. HostXNow_Chris

    Cron emails (/usr/local/cpanel/scripts/fix-cpanel-perl;/usr/local/cpanel/scripts/upcp --c

    I managed many servers with my email address set as the contact an I wake up to find many emails from different servers regarding Cron <[email protected]> (/usr/local/cpanel/scripts/fix-cpanel-perl;/usr/local/cpanel/scripts/upcp --cron) I already added >/dev/null 2>&1 to the command in the...
  19. C

    SOLVED Cron jobs stopped working after cPanel to cPanel transfer to a new server

    Ok, these cron jobs used to work just fine on the previous server, and we kept the same OS and pretty much everything moving WHM/cPanel accounts over to the new server, but now, after all the troubleshooting and little tweaks, we can't figure out what's causing these cron jobs not to fire and...
  20. G

    limit cron jobs

    hello, i saw that some hosts have cron jobs limits start packed has cron job option only one per hour minimum advanced packed has cron job option half hour minimum expert packed has cron job option every minute how is this possible to do this? also is it possible to remove every minute cron...