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
Reply to: