PDA

View Full Version : 404 for CMD API_CRONJOBS



xilent_xage
12-21-2009, 08:23 AM
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!