Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Linux

Journal mennucc1's Journal: own cron jobs

to have your own personal cron jobs, use

EDITOR=emacs crontab -e

to edit your crontab, and add

# m h dom mon dow user command
25 6 * * * run-parts --report $HOME/etc/cron.daily
47 6 * * 7 run-parts --report $HOME/etc/cron.weekly
52 6 1 * * run-parts --report $HOME/etc/cron.monthly

then , create the above directories, with

mkdir -p ~/etc/cron.{weekly,monthly,daily}

Any script or program that you put in the above dirs will be executed as expected. Warning this works well on computers that are always on; otherwise, you need anacron.

Real Programmers don't eat quiche. They eat Twinkies and Szechwan food.

Working...