xilent_xage
New member
- Joined
- Dec 21, 2009
- Messages
- 1
Hi,
I try to add a cronjob through the API, but end up in a 404-status. All other API requests work fine for me, so it shouldnt be a login issue or whatever.
My query: GET /CMD_API_CRON_JOBS?action=create&minute=0&hour=0&dayofmonth=*&month=*&dayofweek=*&command=/usr/local/bin/php%20/path/to/script.php
Not sure how to add a space to the command, I used %20 here. But even if I remove it (so command is completely without spaces) it gives a 404. Anyone who can see what I did wrong?
TIA!
I try to add a cronjob through the API, but end up in a 404-status. All other API requests work fine for me, so it shouldnt be a login issue or whatever.
My query: GET /CMD_API_CRON_JOBS?action=create&minute=0&hour=0&dayofmonth=*&month=*&dayofweek=*&command=/usr/local/bin/php%20/path/to/script.php
Not sure how to add a space to the command, I used %20 here. But even if I remove it (so command is completely without spaces) it gives a 404. Anyone who can see what I did wrong?
TIA!
Last edited: