I am building a web app (using PHP) which needs to offer the end user the functionality to receive an update every x hours, between a range of dates. I know you can create a cron job using "shell". However, I have disabled shell in php.ini to secure my server, in the event of any malicious code finding its way on to my server. Is there a way to securely create a cron job from my app without resorting to using system commands?
Edit
In response to Halayem's comment for further clarification. A registered user in my system may set up a repeating task in my app that will send an SMS message to their mobile number every X Hours where X is a user defined time. I wish to build a secure way of implementing a cron job to automatically send the message every X Hours when the user creates the task.