Skip to content

Conversation

@colin-kiegel
Copy link

This one-line change should fix #4

image

@colin-kiegel
Copy link
Author

@chlulei cc @smeyer-ilias Could you have a look into this PR perhaps? This would solve #4 ;-)

@rfcmaXi
Copy link

rfcmaXi commented Jun 24, 2025

Hello,
I had pulled your PR and already implemented it, but now I get the following message:
Exception: Undefined constant ilCronJobResult::STATUS_FAILED
www/ilias/Customizing/global/plugins/Services/Cron/CronHook/CronStatusMonitor/classes/class.ilCronStatusMonitorCronJob.php(75): ilCronStatusMonitorCronJob->checkCrashedCronJobs()
#1 /srv/www/ilias/Services/Cron/classes/class.ilCronManagerImpl.php(169):

Greetings
Martin

@colin-kiegel
Copy link
Author

@rfcmaXi Hi Martin, I just fixed this issue

Exception: Undefined constant ilCronJobResult::STATUS_FAILED

It should have been STATUS_FAIL instead of STATUS_FAILED - sometimes the wording in ILIAS is a bit special 😅

https://github.com/ILIAS-eLearning/ILIAS/blob/release_9/Services/Cron/classes/class.ilCronJobResult.php#L28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nofication for Cronjob Timeout (>3 hours)

2 participants