How do i set up cron's in vps style hosting AND server access?

I am absolutely determined to get this to work.

I have now tried the shared hosting installation instructions:

I uploaded the files via plesk file manager. Set the php options via the php options within plesk. All done sucessfully.

Everything is working great at the moment, but i have errors.

I have two errors, 1 is snappdf and the other is cron.

Plesk has their own scheduler, but im not sure how i translate over. Also, i don’t even know if

* * * * * cd /path/to/root/folder && /usr/bin/php -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1

is what i should be adding?

I have gone in to usr/cron via ssh and nano and added the line
30 9 7 /var/www/vhosts/ && /usr/bin/php -d register_argc_argv=On art>

I have also added:
script path: /‘httpdocs’ with arguments: ‘php artisan schedule:run >> /dev/null 2>&1’
In the plesk scheduler.
(this is where the composer.json file is located. My guess is that is where it should point??)

The error is still there I don’t know if a. what i did is correct and b. a way to check.

I am also having issues with snppdf. I installed via the ‘shared hosting’ guide even though I have full server access. I’m not sure how I go about installing this?


This post may help with the cron:

The simplest solution for the PDF is to use hosted_ninja