How to make a PHP function triggered automatically at a user defined time
- by mithilatw
I am developing an internal system for a company with PHP using Zend framework. I need one of its functions to execute on a time specified by user.
My research on this matter found me several ways of doing this using CPanel Cron jobs and setting up scheduled tasks on the server. But in this scenario, I don't have a CPanel and I already use scheduled tasks. But my challenge is to provide an interface for the user to specify the time to trigger the function.