Hi Guys,
I have created a script that automatically creates cron jobs via cPanel. It creates the first cron job fine, but then the second cron job will not be added.
I am using PHP's CURL() function to create the crons. My script posts the following values to the "/cron/editcron.html" page:
0-minute
0-hour
0-day
0-month
0-weekday
0-command
entcount
However, it only adds the first cron. How can I add additional crons? Do I have to post other values to the page? I have tried changing the value of "entcount" but it does not seem to have any effect.
Thanks in advance..
I have created a script that automatically creates cron jobs via cPanel. It creates the first cron job fine, but then the second cron job will not be added.
I am using PHP's CURL() function to create the crons. My script posts the following values to the "/cron/editcron.html" page:
0-minute
0-hour
0-day
0-month
0-weekday
0-command
entcount
However, it only adds the first cron. How can I add additional crons? Do I have to post other values to the page? I have tried changing the value of "entcount" but it does not seem to have any effect.
Thanks in advance..