[solution] Getting cron to work with $require_login = 1;

Solutions for other advanced phplisters

Re: [solution] Getting cron to work with $require_login = 1;

Postby solmar » 5:57pm, Mon 23 Nov, 2009

[quote="ryanc"]FWIW, I have this line setup in my cron to run every hour.. Seems to work fine, and I didn't modify any php files. Maybe it will help someone.

[code]wget -q -O - 'http://mywebsite.com/phpList/admin/index.php?page=processqueue&login=myusername&password=mypassword' > /dev/null[/code]

[/quote]

I confirm it works for me. Phplist 2.10.8
Previously curl returned the messy HTML code that is actually Phplist saying "I do not understand your login". Wget said access denied.
I wonder if nullifying the output, as in Ryanc's wget configuration, is what makes the difference.
solmar
PL Nut
 
Posts: 20
Joined: 5:16pm, Thu 26 Jun, 2008

Previous

Return to Advanced Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests