Hi there,

I am going nuts trying to add a cron job.
I can read the cron on a user but when it comes to add it says Added successfully but cannot be found. trying to add the same cron is disallowed as it already "exists".
Below is what i am using:
***** List Cron - Works
/xml-api/cpanel?user=$cpuser&xmlin=<cpanelaction><module>Cron</module><func>listcron</func></cpanelaction>

***** Add Cron - Not Working
/xml-api/cpanel?user=$cpuser&xmlin=<cpanelaction><module>Cron</module><func>add_line</func><args>COMMAND TO THE FILE</args><args>1</args><args>1</args><args>1</args><args>1</args><args>1</args></cpanelaction>


Does anybody know what can be done.

Thanks for any help,

Jerome