Jump to content

cron job with variable in path eg. filename.php?string=1


APuppyDog

Recommended Posts

hello, i am trying to setup a cron job with a path and string, example "php /path/to/file/filename.php?string=1"

 

the cron job returns an error that no input file was specified...

 

however, if i run the file with the following command

http://www.mydomain.com/filename.php?string=1 then the string works as intended...

 

any way to get this working with cron?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.