Jump to content

Using PHP to add/edit cronjobs


mraza

Recommended Posts

Thank you sir , i checked manual and i see this


SYNOPSIS
       crontab [-u user] file

 

so for example if i execute in my php script

exec("crontab -u username -e cronjobfile.php");

 

will it use that cronjobfile.php to get cron jobs details? so i can add cronjobs to cronjobfile.php with my mysql db something, if you could show me a little bit of example i would really appreciate it sir.

 

Thanks again

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.