by orange1 » Tue Dec 04, 2001 1:20 pm
create a file at /etc/crontab
first few lines look like this:
# $NetBSD: crontab,v 1.13 1997/10/26 13:36:31 lukem Exp $
#
# /etc/crontab - root's crontab
#
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#min hour mday month wday user command
that last bit tells you how to format the remaining lines to run commands. to do something daily at 1:30, you'd put this:
30 1 * * * willy ~/mydailyscript.sh
willy would obviously be changed to whoever you wanted the process to be run as. last bit would change to whatever you command was, args, switches and all.
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto