cron

  1. H

    Execute php file via cron job?

    hi i want to execute a php file via cron job i am staucked any help
  2. F

    Check backup cron day?

    Hello! I would like to ask, how do I know via command line which date is the backup or is it running now? Any script or file I can use to know this? Thank you
  3. D

    cron problems

    OK, I'm in "cron hell". I have asked cPanel to create a simple cron job that just appends one file to another, once a day, at 11:55pm. Thusly 55 23 * * * cat ~/access-logs/subdomain.myaccount.net >> ~/subdomain.myaccount.net/totalarchive This is just to make a running access-log called...
  4. B

    Installed PHP 7 cron job doesn't work

    Hi I have two php versions (56 and 7) and I have problems with Cron job The cron jobs of applications with php5 dont work now they are / usr / bin / php -f / home / ...
  5. D

    Sunday, 00:10 cron job?

    OK, I want to set up a cron job to run at 00:10am on Sunday. I understand I need "Minute" = 10 "Hour"= 0 "Month"= * "Weekday" = 0 But what do I put in "Day"? None of the choices there correspond to what I want. If at the top in "Common Settings" I select "Once Per Week", it enters "Every Day"...
  6. E

    cron jobs not running

    hi nano /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 -...
  7. M

    Cron job on shared hosting account using some random IP on the shared server?

    I recently was forced to migrate to a new shared hosting server by my hosting provider because of issues they were having (mostly related to hacking and spam blocking) with their old server. So now I'm on this new server and have a new dedicated IP for one of the cPanel accounts I have on this...
  8. AGuyInFL

    checkupdates.pl cron job

    This line appeared among my cron jobs: /usr/local/bin/perl /usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl I assume cpanel folks installed it. Should I remove it? What is it for?
  9. H

    user cron job not appearing on server /var/log/cron

    Hello, I was trying to debug some cron script for some users but when I tried to look in /var/log/cron, I didn't find any entries for any users. I can see all the entries for the root user, but not for anybody else: Nov 1 15:21:01 ssd01 CROND[907489]: (root) CMD...
  10. V

    Too many emails about disabling upcp Cron. How to deal with?

    The cron was restored with once a week frequency with manual packages update setting. The emails regarding the Cron stopped sending. Now the WHM/cPanel server load is around 0.3 and everything looks normal and is fast.
  11. D

    Cron Job issue: PHP Fatal error: Call to undefined function mysqli_connect()

    I think this problem started just after I upgraded from EA3 to EA4, but can't be sure. My error_log shows this error: PHP Fatal error: Call to undefined function mysqli_connect() in... and PHP Fatal error: Call to undefined function mysql_connect() in... These errors are generated by 2...
  12. S

    Location to save cron jobs

    I have a cPanel account on a shared server. I do not have root access. Here's server info from cPanel. I'm not able to run grep. cPanel Version 64.0 (build 40) Apache Version 2.4.18 PHP Version 5.6.24 MySQL Version 10.1.26-MariaDB Architecture x86_64 Operating System linux...
  13. I

    SOLVED One user's cron jobs not running

    Hi there, Yesterday I changed the cron notification email for one of my users. Since then their cron jobs are not running, they were running fine before that. All other users' jobs are still running fine on the same server. I have spent some time looking into this and the only thing I have...
  14. Z

    Error in cron job after upgrading to latest version

    Hello everyone. i recently upgrade whm in the latest version. Since then my cronjob start getting the error: <br /> <b>Fatal error</b>: Directive 'asp_tags' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br /> any idea how to fix that? thanks!
  15. N

    Cron <[email protected]> /usr/lib64/sa/sa2 -A

    I am getting email from Cron <[email protected]> /usr/lib64/sa/sa2 -A about End of system activity file unexpected
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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.