Hi,
I've got this in my user's crontab, but it doesn't seem
to work.
#!/bin/sh
MAILTO=""
*/5 * * * * /usr/local/bin/run_fetchmail.sh # this works!
# this doesn't. I want to run it at 00:03:00 on the 1st
# day of each month. The "\" continuation characters were
# added by me just now, to make it easier to read in the
# email.
3 0 1 * * (mv ~/mailfilter.log \
~/mailfilter-`date --date '1 month ago' +"%Y-%m"`.log \
&& touch ~/mailfilter.log)
Running the command interactively works fine, so it
must be something simple that I'm missing.
Thanks
-- Ron Johnson <ron.l.johnson@cox.net> ___________________ Nolug mailing list nolug@nolug.orgReceived on 06/04/04
This archive was generated by hypermail 2.2.0 : 12/19/08 EST