The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
Given a table containing Crontab configurations and Date time fields, update the date time field with the next time the Crontab would be expected to fire for each entry.
The table contains crontab information in standard format e.g. 00 11,16 * * *. Iterate over the data, If the date time field is null, assume the current time and set the next occurrance in the field. If the date time field is in the past, take that as the current time and get the next time after that. If the date time is in the future, skip the update. Most of your code will be basic enough plumbing. Michael Dowling's cron library (below) should be able to handle the bulk of the cron calculations. DB format is outlined below.
Any questions please ask before you quote, don't bid unless you understand the requirement.
One well written php file that scans the table and updates as required. The php file contains m...
Sign in or Register to see more