hi guys actually i set up one five min crom
and then
one 10 min cron
and than
one 15 min cron
and than
directly 1 hour cron
so is it ok that from 15 min to one hour
hi guys actually i set up one five min crom
and then
one 10 min cron
and than
one 15 min cron
and than
directly 1 hour cron
so is it ok that from 15 min to one hour
Make sure that no crons are running within 5 min from one another.
Your set up will not work.
5 minute and 10 minute will always conflict. As will the 15 minute and 10 minute. etc.
If you know what you are doing, make one script with an info file that stores a number.
Retrieve and update number every time script is run.
Always do your 5 minute stuff.
Number even, do your 10 minute stuff.
Number divisible by 3, do your 15 minute stuff.
Number divisible by 12, do your 1 hour stuff.
That way you only have one cron job. Run every 5 minutes.
Nothing is always absolutely so.
You can also specify more specific run times for each job using "," for a set of times, "-" for a range, and "/" to skip intervals. See the X10 Wiki article on cron jobs for more info and samples. In this particular case, "," is what will be of most use.
Or (just to obfuscate things a bit):Code:5,25,35,55 * * * * /home/username/periodic/5m 10,20,40,50 * * * * /home/username/periodic/10m 15,30,45 * * * * /home/username/periodic/15m 0 * * * * /home/username/periodic/hourly
Code:5/30,25/30 * * * * /home/username/periodic/5m 10/30,20/30 * * * * /home/username/periodic/10m 15-45/15 * * * * /home/username/periodic/15m 0 * * * * /home/username/periodic/hourly
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.