Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

my own cron script

  Date: Jan 02    Category: Unix / Linux / Ubuntu    Views: 496
  

If I need a cron script to run every five minutes, do I put that in
/etc/cron.hourly?

Share: 

 

1 Answer Found

 
Answer #1    Answered On: Jan 02    

No, scripts in /etc/cron.hourly run once per hour.

My /etc/crontab indicates the the scripts in hourly run at 17 minutes after
the hour.

You "could" add 12 entries to /etc/crontab so that a script would be run at
5 minutes, 10 minutes, 15 minutes and etc.

However, messing with the system crontab would not be the preferred method.
I would suggest that you create a User crontab under
"/var/spool/cron/crontabs/wade"

There is a GUI app that will do this for you named: "kcron". This KDE
version is better, in my opinion. than the Gnome version.

My daughter uses "kcron" to schedule a script to run that turns off TVtime
at a time when she is presumed to be asleep.

 
Didn't find what you were looking for? Find more on my own cron script Or get search suggestion and latest updates.




Tagged: