How to use cron with authentication ?
Hi
I have activated login/pass in Selfoss but unhappy it blocks the cron to run as it gets an authorisation denied from Selfoss.
Is there a way to workaround that ? or to whitelist an IP address for Selfoss so cron script can execute properly ?
Thanks
Vincèn
How to use cron with authentication ?
Hi. If you can run commands, you can have cron execute php path/to/selfoss/cliupdate.php
.
If you can only trigger HTTP requests, you will need to specify username
and password
. Preferably as POST
parameters but GET
(query string) parameters will work too (just note that your web server might include GET parameters in logs).
How to use cron with authentication ?
Thanks will try that :)