0

I'm on a shared hosting plan at Bluehost and set up cron jobs through the cpanel cron job tab.  I'm able to specify the periodicity and issue a command to trigger the php script.  Is there a way from PHP to issue a cron job and set the periodicity and also from PHP to remove the cron job?  Could someone provide a simple example?  Thanks

DCR
  • 14,737
  • 12
  • 52
  • 115
  • http://stackoverflow.com/questions/11612910/how-to-set-cron-job-from-php-script from "Related" >>> – Funk Forty Niner Apr 12 '17 at 14:57
  • @Fred-ii- link totally works, but I always prefer using the API offered by cPanel https://documentation.cpanel.net/display/SDK/cPanel+API+2+Functions+-+Cron%3A%3Aadd_line – Lambasoft Apr 12 '17 at 14:59

0 Answers0