Affects Version/s: None
Fix Version/s: None
Component/s: Legacy > Clustering
Happens with 5.4.11, when running legacy cronjobs via ezpublish/console.
I checked, and there are only a couple cronjobs that use the global var `$script`. Using `$cli` seems to be fine.
I am not sure if that var is supposed to be there when the cronjob is run in pure-legacy mode, but it definitely is not there when run via ez5.
- check for presence of `$script` in $GLOBALS ?
- add an `if` and if `$script` is not defined just return ?