Issue with Cron on plesk (SOLVED)

Hello,

I tried to enter the cron task in the subscription but only get an error that the folder does not exist. When trying in the Tools section It only states that it can’t cd.

The cron task I try: cd /var/www/vhosts/emperorpenguin.dev/invoice.emperorpenguin.dev/ && /usr/bin/php -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1
Schedule: cron style * * * * *

I am trying to get it to work for me on my own root server running Plesk.
I have checked other solutions found on this forum and via search engine, but found no working solution.

The other image:


I tried a different command I found on this forum now I get: Could not open input file: ‘artisan’


This seems to run, yet the triangle remains

image

Okay it started working, took me over a day. I will make a Tutorial for this tomorrow.

1 Like

Was a tutorial ever made?!?

Would very much appreciate it!

:wink: https://forum.invoiceninja.com/t/tutorial-cron-job-on-plesk-obsidian/11554

You also could have just cecked my activity. :smiley:

1 Like