how to run task periodically

Antonio Vieiro antonio at antonioshome.net
Wed Aug 18 08:13:48 UTC 2010


crontab -e ?

See http://en.wikipedia.org/wiki/Cron

Cheers,
Antonio

2010/8/18 Mark Stapper <stark at mapper.nl>:
>  Hi,
>
> I have a system that doesn't run 24/7/365.
> I would like to make sure that some tasks (like updating the ports tree)
> run weekly/monthly etc.
> As the system isn't on 24/7 the cron job I usually run for these tasks
> doesn't work as the machine isn't always running on the scheduled time.
>
> So I need a utility that enable me to say: "if a week has passed since
> the last run, run this command".
> Is there such a utlility?
> Cheers,
> Mark
>
>


More information about the freebsd-questions mailing list