So having it as you have specified "25   3    *    *    *
/usr/local/bin/wirehub.sh" will do that ? And is that 3:25 AM ?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Cybertime Hostmaster
Sent: Saturday, May 31, 2003 3:20 AM
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: Cron question



> I have honestly looked at several online examples and tutorials , but
still
> not working for me.
>
> I am trying to run the daily email report and wirehub update once every
24
> hours, here is what I have in my /etc/crontab file:
>
> *       *       24       *       *       root
/etc/postfix/mailreport.sh
> *       *       24       *       *       root    /etc/postfix/wirehub.sh
>
> I save and do a "crontab crontab" but nothing has happened in the last
48
> hours.  I have also tried hourly, every minute, but I think im just not
> getting those date variables at all.

You are saying run every 24 hours after every hour, which is not what you
want.

You need to give it a time to run at, not just every 24 hours, to be most
effective.

crontab -l
MAILTO=""
5    3    *    *    *    /usr/local/bin/mailreport.sh
25   3    *    *    *    /usr/local/bin/wirehub.sh
25   3    *    *    sun  /usr/local/bin/unk2ip.sh

--Eric




Reply via email to