friedo
July 23, 2005, 3:23am
1
I have this cronjob which runs every ten minutes:
*/10 * * * * perl /usr/local/alex/scripts/splitter.pl
I want to add another job which also runs every ten minutes, but on the fives instead of the zeros. (:05, :15, :25, etc. Instead of :00, :10, :20, etc.) Anybody know how to do that?
xash
July 23, 2005, 4:58am
2
Since I haven’t used cronjobs, I’m just posting this until someone with knowledge of this comes by…
http://esm2.imt-mrs.fr/~staffelb/guide_linux/part1/cron.html
It seems from that link that you can specify the absolute minutes at which to run the job:
5,15,25,35,45,55 * * * * perl /usr/local/alex/scripts/splitter.pl
See if that works.
friedo
July 23, 2005, 6:39am
3
Of course! :smack:
Not nearly as pretty, but it should work just as good. I always end up looking dumb when trying to find a complex solution to a simple problem.