Wann wird ein cronjob als "error" gewertet?
Posted: Mon 6. Jul 2020, 18:39
Hallo Community,
habe gesucht, aber nur das gefunden (was nicht weiterhilft): viewtopic.php?t=9482
Ich habe einen Cronjob angelegt, der ein PHP Skript ausführt, das wiederum ein git stash ... git pull macht. Der Output sieht dabei so aus:
Das logge ich in eine Datei und das klappt auch prima - was ich nicht verstehe, ist, dass er mir manche logs as Fehler per Mail schickt und manche nicht... Die Einstellung in Keyhelp für den Cron ist so:

Hier ein log, das ich nicht per Mail bekomme (das mit anderen Worten wohl nicht als Fehler erkannt wird):
Habt ihr ne Idee? Danke im Voraus!
habe gesucht, aber nur das gefunden (was nicht weiterhilft): viewtopic.php?t=9482
Ich habe einen Cronjob angelegt, der ein PHP Skript ausführt, das wiederum ein git stash ... git pull macht. Der Output sieht dabei so aus:
Code: Select all
# ----- 2020-07-06 18:31:01 -----
# Running Master Cronjob
# RockCI
# 1 webhooks found
No local changes to save
Entering 'site/modules/RockCI'
No local changes to save
Entering 'site/modules/RockMigrations'
No local changes to save
Entering 'site/modules/RockTrigger'
No local changes to save
Updating e38...a9
Fast-forward
site/modules/RockCI | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Submodule path 'site/modules/RockCI': checked out 'e56...e76'

Hier ein log, das ich nicht per Mail bekomme (das mit anderen Worten wohl nicht als Fehler erkannt wird):
Code: Select all
# ----- 2020-07-06 18:33:02 -----
# Running RockTrigger Master Cronjob
# RockCI - nothing to do