Howdy LQ,
I am having issues running scripts within a custom directory I added to /etc/crontab
I added same arguments, and gave the same permissions to the custom directory as what the other cron directories have. Is there something that I am missing? Or am I going to have to edit the 'crontab -e', and redo all of this on my 80 different nodes?
Code:
cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
05 * * * * root run-parts /etc/cron.cleanup
Code:
drwxr-xr-x 2 root root 4096 Apr 22 09:54 cron.cleanup
drwx------ 2 root root 4096 Jul 15 2008 cron.d
drwxr-xr-x 2 root root 4096 Jun 1 2009 cron.daily
-rw-r--r-- 1 root root 0 Jun 1 2009 cron.deny
drwxr-xr-x 2 root root 4096 Jul 14 2006 cron.hourly
drwxr-xr-x 2 root root 4096 Jun 1 2009 cron.monthly
drwxr-xr-x 2 root root 4096 Jun 1 2009 cron.weekly
Code:
-rwxr-xr-x 1 root root 144 Apr 22 09:47 guardian_coredump.sh