I’ve attempted to solve this with this code:
$_SERVER['argv'] = ['artisan', 'schedule:run']; include('artisan');
But this doesn’t seem to work, I’ve then proceeded to switch schedule:run with a test command which just uses the touch function to create a file in storage every minute but that still doesn’t do anything.
Is there any way to get an error output or log of what’s happening with the timer so I can debug this?
I also updated the onStartMainWindow HEScript with a raw php script and had it dump a file to see if it was actually working and it was, but Artisan doesn’t and with no error logging it’s really difficult to debug.