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.
However if you’re really trying to make it production ready by deleting all the unnecessary files then you’ll realise that Application.php requires composer.json (just the autoload section) to get the command namespaces, personally I think this terrible so I’ve wiped out all information that can compromise the app in the composer.json leaving just this:
Note: I have an automated script that recompile’s Laravel and deletes all the files that are not required, it will now also rewrite the composer.json to have only the absolutely necessary data.