I spent a while debugging why our cronjob wouldn't run. Turns out it was the -d option.
$ php --help
[…]
-d foo[=bar] Define INI entry foo with value 'bar'
I don't know what -d was supposed to do here but it seems like it causes the file path to be defined as an INI entry and no file to be executed. Thus php uses the script from stdin, which is nothing, and does nothing.
This fixes it and now we get tickets created even when we're not active in osTicket (i.e. triggering the auto-cron).
I spent a while debugging why our cronjob wouldn't run. Turns out it was the
-d
option.I don't know what
-d
was supposed to do here but it seems like it causes the file path to be defined as an INI entry and no file to be executed. Thus php uses the script from stdin, which is nothing, and does nothing.This fixes it and now we get tickets created even when we're not active in osTicket (i.e. triggering the auto-cron).