ProcessWire - Scheduler

Aus Wikizone
Wechseln zu: Navigation, Suche

Cronjobs / Scheduler für ProcessWire

Module

LazyCron

https://processwire.com/talk/topic/5403-cron-job-for-processwire-mailer-template/
https://processwire.com/docs/more/lazy-cron/

Tipps im Zusammenhang

Seitenaufruf triggern

Man kann Seiten so bauen, dass sie beim Aufruf Aktionen ausführen. Um die Seitenaufrufe ohne Browser durchzuführen kann man so etwas machen:

Ah, ok. You may also try to create a simple php script somewhere outside of pw with this content:

header("location: http://www.your-site.com/page-url-with-mail-script/");

or with this one:

file_get_contents("http://www.your-site.com/page-url-with-mail-script/");

and call that with your cronjob.