codehaven - php snippets - coding help
Generic filters
Exact matches only

Cron jobs – Depending on day – write file

20th August 2014

Php - Dates & Time

php codehaven

This is not a real cron, as this is used in Linux systems, scheduled tasks are what windows uses.

Not maybe the correct way, but it shows you how to control lots of times, then set something happening, useful if you have to have lots of individual tasks in a script, quicker to control.

Was this code snippet helpful?