Author Topic: Cronjob Problem  (Read 4808 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cronjob Problem
« on: February 01, 2020, 09:23:40 AM »
Hello,
I have a problem with a cronjob.
I have entered the following with me:

Code: [Select]
/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:

Code: [Select]
Could not open input file: /home/losebra/public_html/cron.php?id=3429
Can someone help me here?

Offline
*****
Re: Cronjob Problem
« Reply #1 on: February 01, 2020, 10:11:29 PM »
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

Offline
*
Re: Cronjob Problem
« Reply #2 on: February 05, 2020, 06:53:06 PM »
thanks thar works