Page 1 of 1

Pay attention: Cron job command line parameter syntax

Posted: Sat Jun 09, 2018 9:29 pm
by jmcafee
If you need to run several different cron job scripts, don't assume (like I did) that the command line syntax is identical.

The cron.php script in /load parses the command line password from "password=<update password>"
The update.php script in /plugins/metoehub parses the command line password from "pass=<update password>"

In the ideal world the syntax would be identical; however the correct syntax is documented by Jachym in both instances.

Re: Pay attention: Cron job command line parameter syntax

Posted: Sun Jun 10, 2018 3:14 am
by Fraggboy
Great post. I aways check in the php file to see what syntax is needed. :)