Aaron Walker said:
> I am trying to run a cron job more frequent than one hour, but
> that's as  small as it goes in /etc/cron.*

I usually like to have a minutely cronjob as well. To do this I
alter my /etc/crontab to look like this:

* * * * *       root    test -x /usr/sbin/run-crons &&
/usr/sbin/run-crons && rm -f /var/spool/cron/lastrun/cron.minutely
0 *  * * *      root    rm -f /var/spool/cron/lastrun/cron.hourly
0 0  * * *      root    rm -f /var/spool/cron/lastrun/cron.daily
0 0  * * 6      root    rm -f /var/spool/cron/lastrun/cron.weekly
0 0  1 * *      root    rm -f /var/spool/cron/lastrun/cron.monthly


Then, any executable file I put in /etc/cron.minutely/ will run once
a minute.

-Eric

-- 
arctic bears - email and name services
25 email [EMAIL PROTECTED] CA$11.95/month
DNS starting at CA$3.49/month - domains from CA$25.95/year
for details contact [EMAIL PROTECTED] or visit
http://www.arcticbears.com




--
[EMAIL PROTECTED] mailing list

Reply via email to