Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cronjob to run every 20mins 1

Status
Not open for further replies.

dvknn

IS-IT--Management
Mar 11, 2003
94
US
Looking for some help from you experts.

I want to run a cronjob every 20mins. (I have checked a thread for every 5 mins. But the way it was mentioned, I am getting an error).

Righ now I have

20 * * * * filename (this is running 20 mins after everyhour)

Thank You guys
 
man crontab

0,20,40 * * * * filename

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
good job vgersh99, not only for giving the answer but for refering dvknn to the man pages!!! teach a man to fish

remember to always mark a post as helpful when it solves your question

-B :cool:
birbone@earthlink.net
 
thanks..vgersh99.

birborne....please.....i am not asking before i did my own investigation. So, keep your commen to yourself.

Thanks
 
You could also try this:

*/20 * * * * filename

----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
LK,

I tried that and I was getting errors. I was not even allowed to activate the cronjobs..
 
dvknn,

don’t be so touchy, you took my comment all wrong... it wasn't about you; it was just a good job post for vgersh99

and the comment about the man pages wasn't specifically for you either, as much as it was for any newbie's checking this post trying to learn

we’re all here to help each other; so I apologize if my post came across as critical, it really wasn't meant that way

-B :cool:
birbone@earthlink.net
 
OK..That clears it up. Thanks Birbone
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top