I want to build a section at admin panel to give the ability to configure the scheduled tasks.
Idea :
at that panel:
- admin can upload a php file (I can do this)
- make a schedule (i.e. once a week at friday 12:00) (I can do this)
- assign a schedule to an uploaded php file (I can do this)
- execute the php file at the scheduled times.( this is my question)
The real question is how to schedule and execute the php file without forcing admin of the site to use cPanel or ssh?
I hope the question be clear. btw, I am using pyrocms(if needed)