Hi, On Mon, 23 May 2005 21:24:44 +0200 pelibali <.> wrote:
Hi!
I setup a folder named '/etc/cron.twoweekly' and put few scripts into it. To ensure the execution of these files, I made a modification to the '/etc/crontab' file and added the following line
29 21 14,28 * * root rm -f /var/spool/cron/lastrun/cron.twoweekly
The extra two-weekly jobs I configured run well, except, that in case in the above timepoint my comp was not turned on, no retry happens after x minutes as it is the case for all of the original cron.hourly/daily/... stuff happens. Any idea how could get the wished effect and/or get the scripts run when next time my computer is switched on?
Thanks, Pelibali
I'm sorry, just adding a supplementary info I forgot previously. I did also modify my '/usr/lib/cron/run-crons' and inserted the following lines .. for CRONDIR in /etc/cron.{hourly,daily,weekly,twoweekly,monthly} ; do .. cron.twoweekly) TIME="-ctime +14 -or -ctime 14" ;; .. Actually as I understand, that's why my scripts run at all. Pelibali