Cronjob Problem

Started by isaack, February 01, 2020, 09:23:40 AM

Previous topic - Next topic

isaack

Hello,
I have a problem with a cronjob.
I have entered the following with me:

/usr/local/bin/php -f /home/losebra/public_html/cron.php?id=3429&pw=demodmeo&rallys=Tagesklick

this is also called according to logfile. unfortunately nothing happens.

When I test this cron as described in the instructions via the ssh console, I get the following message:

Could not open input file: /home/losebra/public_html/cron.php?id=3429

Can someone help me here?

Alnork

That's a mistake, running php with querystring from a crontab isn't like that. Try this:

https://www.digitalocean.com/community/questions/pass-parameters-in-cron-url-php

isaack