Setting cron by php code?
Is it possible to set a cron job by php code?
For example, I have a script where you can select yes or no in the form. Depending on what the user selects the script sets a cron job or deletes it.
If the user selects "yes" then a cron is set via php code, if "no" then it is either deleted or not set.
Can this be done?
|