Freescout: Set up cron job in Plesk

Created on 15 Dec 2020  路  2Comments  路  Source: freescout-helpdesk/freescout

I install Freescout on a new Server with Plesk
Everything is fine so far.
However, I can not manage a cron for the email retrieval.
Manual retrieval works without any problem.

I have already tried both variants.

php /var/www/vhosts/mydomain/httpdocs/artisan schedule:run >> /dev/null 2>&1
/opt/plesk/php/7.4/bin/php /var/www/vhosts/mydomain/httpdocs/artisan schedule:run >> /dev/null 2>&1

I also do not get an error message
anyone an idea?
thanks

Most helpful comment

In Plesk it is best to setup scheduled tasks within the domain section where you installed FreeScout. There you choose PHP 7.4 (or at least the same you use for the FreeScout web interface). Set the first field to httpdocs/artisan and the second to schedule:run.

Then click Run Now and see if you get any errors. If not, then save the cron job.

All 2 comments

In Plesk it is best to setup scheduled tasks within the domain section where you installed FreeScout. There you choose PHP 7.4 (or at least the same you use for the FreeScout web interface). Set the first field to httpdocs/artisan and the second to schedule:run.

Then click Run Now and see if you get any errors. If not, then save the cron job.

schedule:run

You Great. Thank you so much. Now the Cron runs without any Problems

Was this page helpful?
0 / 5 - 0 ratings

Related issues

freescout-helpdesk picture freescout-helpdesk  路  6Comments

freescout-helpdesk picture freescout-helpdesk  路  7Comments

mihha picture mihha  路  4Comments

diguinho2018 picture diguinho2018  路  6Comments

statepm picture statepm  路  4Comments