Obsolete Releases > SME 8.x Contribs

affa schedule not running jobs

<< < (2/3) > >>

Stefano:
dig in /var/log/cron, if something is wrong you should find the reason

gwalker-it:
In the cron file I can see each cron.hourly job ran, purge-junkmail, warnquota, check4updates, cron.daily, squid but no sign of affa jobs.

Jul 22 19:35:17 server crond[3653]: (CRON) STARTUP (V5.0)
Jul 22 20:01:01 server crond[4995]: (root) CMD (run-parts /etc/cron.hourly)
Jul 22 21:01:01 server crond[5246]: (root) CMD (run-parts /etc/cron.hourly)
Jul 22 22:01:11 server crond[6127]: (root) CMD (run-parts /etc/cron.hourly)
Jul 22 23:01:01 server crond[6561]: (root) CMD (run-parts /etc/cron.hourly)
Jul 22 23:25:01 server crond[6626]: (root) CMD (perl /etc/e-smith/events/actions/purge-junkmail-folders)
Jul 23 00:01:01 server crond[6726]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 00:37:01 server crond[6823]: (root) CMD (/sbin/e-smith/warnquota)
Jul 23 01:01:01 server crond[6886]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 02:01:01 server crond[7045]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 03:01:01 server crond[7206]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 04:01:01 server crond[7371]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 04:02:01 server crond[7375]: (root) CMD (sleep $[ $RANDOM % 3600 ]; /sbin/e-smith/check4updates -m )
Jul 23 04:02:01 server crond[7377]: (root) CMD (run-parts /etc/cron.daily)
Jul 23 04:02:01 server anacron[7382]: Updated timestamp for job `cron.daily' to 2014-07-23
Jul 23 04:55:01 server crond[8018]: (root) CMD (squid -k rotate)
Jul 23 05:01:01 server crond[8037]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 06:01:01 server crond[8203]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 07:01:01 server crond[8359]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 08:01:01 server crond[8519]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 09:01:01 server crond[9206]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 10:01:01 server crond[9653]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 11:01:01 server crond[9874]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 12:01:01 server crond[10129]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 13:01:02 server crond[10334]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 14:01:01 server crond[10548]: (root) CMD (run-parts /etc/cron.hourly)
Jul 23 15:01:01 server crond[11113]: (root) CMD (run-parts /etc/cron.hourly)

Jáder:
So the entries in cron are wrong... they never execute.
post your cron entries.

Mine are like these:

--- Code: ---[root@leopardo ~]# grep -r affa /etc/cron*
/etc/cron.d/affa-status:00 5 * * 0 root /sbin/e-smith/affa --send-status
/etc/cron.d/affa:30 22 * * * root  /sbin/e-smith/affa --watchdog=86400 --run Zxxxxa
/etc/cron.d/affa:15 20 * * * root  /sbin/e-smith/affa --watchdog=86400 --run Rxxxxa
/etc/cron.d/affa:00 20 * * * root  /sbin/e-smith/affa --watchdog=86400 --run Bxxx
/etc/cron.d/affa:30 06 * * * root  /sbin/e-smith/affa --watchdog=86400 --run Axxx-xx
/etc/cron.d/affa:30 20 * * * root  /sbin/e-smith/affa --watchdog=86400 --run Axxxxxx
[root@leopardo ~]#

--- End code ---
Did you have some like that?

gwalker-it:
I have:

/etc/cron.d/affa-status:00 5 * * 0 root /sbin/e-smith/affa --send-status
/etc/cron.d/affa:30 17 * * * root  /sbin/e-smith/affa --watchdog=86400 --run oxxxxxx

brianr:
Have you tried:

affa --status

on the backup server to see if the jobs have actually run?

Please post the results of this...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version