Help with cron jobs
Posted: Tue Jun 10, 2014 4:37 pm
Hey guys,
I am wondering if any of you have faced this situation before.
I have multiple cron files setup to run at a specific time. Lets say each day at midnight. It's important that they all run within the same minute not 1 minute after the hour or 1 minute before the hour.
Lets say I have 1 cron file update all the players stats for the previous day such as number of employees. Next I would want a separate cron file run to update the records/high scores which would need to reference the data updated from the previous cron file.
Is there a way to force 1 cron file to run/complete before the next cron file within the same 1 minute time frame?
Any suggestions are greatly appreciated.
I am wondering if any of you have faced this situation before.
I have multiple cron files setup to run at a specific time. Lets say each day at midnight. It's important that they all run within the same minute not 1 minute after the hour or 1 minute before the hour.
Lets say I have 1 cron file update all the players stats for the previous day such as number of employees. Next I would want a separate cron file run to update the records/high scores which would need to reference the data updated from the previous cron file.
Is there a way to force 1 cron file to run/complete before the next cron file within the same 1 minute time frame?
Any suggestions are greatly appreciated.