On Thu, 25 Jun 1998, Zoki wrote:

-+-I'm trying to make the...##@@%$ cron to connect to my ISP, send mail,
-+-download new ones and switch off.

-+-00 08 * * * sh /usr/local/sbin/get_mail

I am assuming you are trying to get this to go at 8AM? I have a similar
set up that connects evry hour, checks mail, sends mail, and disconnects
at 5 minutes after the hour. Here goes.

Drop the sh. Make your entry look like this:

#Comments added for ease of explanation
#
# * * * * *
# | | | | |_ Day of week (0 - 6, 0 = Sunday)
# | | | |___ Months (1 - 12)
# | | |_____ Days (1 - 31)
# | |_______ Hours (0 - 23)
# |_________ Minutes (0 - 59)
#
0 8 * * * /usr/local/sbin/get_mail

I you want to know exactly how I do this send me an email and I'll send
you the details.

-Paul


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to