ProcessWire - Scheduler: Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
 
Zeile 19: Zeile 19:
  
 
and call that with your cronjob.
 
and call that with your cronjob.
 +
 +
== Tasker ==
 +
Modul für lang andauernde Jobs
 +
https://modules.processwire.com/modules/tasker/
 +
https://github.com/mtwebit/Tasker/wiki/How-to-use-Tasker
 +
https://processwire.com/talk/topic/17708-tasker/

Aktuelle Version vom 4. Januar 2020, 17:45 Uhr

Cronjobs / Scheduler für ProcessWire

Module[Bearbeiten]

LazyCron[Bearbeiten]

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

Tipps im Zusammenhang[Bearbeiten]

Seitenaufruf triggern[Bearbeiten]

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.

Tasker[Bearbeiten]

Modul für lang andauernde Jobs

https://modules.processwire.com/modules/tasker/
https://github.com/mtwebit/Tasker/wiki/How-to-use-Tasker
https://processwire.com/talk/topic/17708-tasker/