Geking poe
Geking poe

Reputation: 95

CPanel cron job (bad command)

I wanted to run a cron job URL every 5 minutes and I am trying the following:

*/5 * * * * curl http://ur-views.com/gramlater/queue_processor.php`

But I get the following error:

Screenshot of CPanel error

Upvotes: 0

Views: 461

Answers (1)

Adam Wilson
Adam Wilson

Reputation: 41

Remove the */5 * * * * from the command section.

You only need the actual command in there, the bit above handles the frequency that it's executed.

Upvotes: 2

Related Questions