ProcessWire - Scheduler: Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „Cronjobs / Scheduler für ProcessWire == Module == === LazyCron === https://processwire.com/talk/topic/5403-cron-job-for-processwire-mailer-template/ https:…“)
 
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 5: Zeile 5:
 
  https://processwire.com/talk/topic/5403-cron-job-for-processwire-mailer-template/
 
  https://processwire.com/talk/topic/5403-cron-job-for-processwire-mailer-template/
 
  https://processwire.com/docs/more/lazy-cron/
 
  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.
 +
 +
== 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/