How to pass multiple parameters to cron job with curl?

Posted by Lost_in_code on Stack Overflow See other posts from Stack Overflow or by Lost_in_code
Published on 2010-06-05T20:17:18Z Indexed on 2010/06/05 20:22 UTC
Read the original article Hit count: 189

Filed under:
|

I'm running two cron jobs:

This one executes without a problem:

curl -sS http://example.com/cronjob.php?days=1

But this doesn't run at all:

curl -sS http://example.com/cronjob.php?days=1&month=1

Is this because of the ampersand (&)? If yes, how to pass multiple parameters?

Using argv is not an option.

© Stack Overflow or respective owner

Related posts about php

Related posts about cron