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:…“)
 
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.

Version vom 4. Januar 2020, 16:20 Uhr

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.