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

Re: anacron jobs for users



Philip Lehman <lehman@gmx.net> writes:

> I have this small backup script for parts of my home directory and I
> want it to run as a daily job. The box is a laptop so cron jobs are
> not quite the way to go, but I'm sure there's a better way than
> putting "sudo -u username myscript" in the system-wide anacrontab?

I think the best way would be to put the script without any
modifications in the /etc/cron.daily dir, anacron will execute the
script then in time.

Greetings,
joachim


Reply to: