No More Cronjobs

Oct 5, 2007

I made some changes to 2 of my servers (both powered by cpanel 11, php 4.4.7 and Apache 1.3). I disabled persistent mysql connections in php.ini file and problems started - PHP based cronjobs stopped working for all accounts on both servers.

PHP scripts are not launched via cronjobs anymore. No errors are displayed, but all cronjobs just stopped working (when I run php scripts manually via ssh - everything is fine).

I have enabled persistent connections again, recompiled apache, updated system software, rebooted server, and it's still the same - cronjobs don't work anymore.

View 2 Replies


ADVERTISEMENT

What Can Make Cronjobs Stop Working

Jun 4, 2008

Up until a day ago they were working just fine, and then they just stoped working with out me doing anything!

I tried

[root@ensim root]# service crond restart
Stopping crond: [ OK ]
Starting crond: [ OK ]

and restarted the server. Nothing. All signs point to it working

[root@ensim root]# service crond status
crond (pid 10922 10919 3270 3035) is running...

Code:
Jun 4 00:00:01 ensim CROND[4286]: (root) CMD (curl [url])
Jun 4 00:00:01 ensim CROND[4297]: (root) CMD (/usr/local/bin/weblogs)
Jun 4 00:00:01 ensim CROND[4289]: (root) CMD (curl [url])
Jun 4 00:00:01 ensim CROND[4300]: (root) CMD (/usr/local/sbin/bwcron)
Jun 4 00:00:01 ensim CROND[4292]: (root) CMD (curl [url])
Jun 4 00:00:01 ensim CROND[4303]: (root) CMD (nice --adjustment=15 /usr/local/sbin/update_site_summary_cache)
Jun 4 00:00:01 ensim CROND[4284]: (root) CMD (curl [url])
Jun 4 00:00:01 ensim CROND[4295]: (root) CMD (curl [url])
Jun 4 00:00:01 ensim CROND[4306]: (root) CMD (/usr/bin/run-parts /etc/logrotate/d)
Jun 4 00:01:00 ensim CROND[4438]: (root) CMD (curl [url])
Jun 4 00:01:00 ensim CROND[4441]: (root) CMD (run-parts /etc/cron.hourly)

though it's not actually done. If I load the page manually, the file does work.

View 1 Replies View Related

How To Enable/disable Cronjobs For All Account On WHM/cPanel?

Aug 31, 2007

I'm manage on dedicated server.

I need to know method enable/disable cronjobs for all account on WHM/cPanel?

View 2 Replies View Related

Plesk 11.x / Linux :: Restore Cronjobs From Backup For Particular Domain?

Dec 22, 2014

I have to restore only the cronjobs for a spcecific domain from a plesk backup which is stored on another server. I searched in all the full backup structure but impossible to retrieve the data.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved