[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Howto add a crontab job ?



> Hi Chris,
>
> Thanks. man crontab doesn't tell me what the syntax is for a "every 5
> minute"
> job though, and that's what I need. Any other ideas ?
>
> Dee
>
> -----Original Message-----
> From: Chris Kenrick [mailto:chriskenrick@yahoo.com.au]
> Sent: Saturday, November 09, 2002 2:39 PM
> To: W.D.McKinney
> Cc: debian-user@lists.debian.org
> Subject: Re: Howto add a crontab job ?
>
>
> On Sat, Nov 09, 2002 at 02:18:45PM -0900, W.D.McKinney wrote:
>>
>> I am new to debian and wondered what's the best way to add a
>> job for crontab (indexmaker for mrtg) ?
>
> Write a short shell script to do what you need, looking something like
>
> #!/bin/sh
> mrtg dosomething
>
> and put the file in /etc/cron.daily (presuming you want it run once a
> day).
>
> Or, if you want it at a certain time, or whatever, use man crontab to
> see the file format, and edit /etc/crontab
>
> HTH
>
> - Chris
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org


Do a man on crontab





Reply to: