Hello,
I tried to add a cronjob (sheduled task) via the Plesk 11 Interface, to execute a php file within my webshop.
But unfortunately I can not get it work.
The following command I have used:
php -q /var/www/vhosts/domain.com/httpdocs/shop/my_cron.php
Via email it showed me this error: Could not open input file: –q
Which command should I else use, to execute that php file? It just needs to be exeuted, like if you would open it manually via your browser.
It would be great if you can help me with that.
Thank you!
I tried to add a cronjob (sheduled task) via the Plesk 11 Interface, to execute a php file within my webshop.
But unfortunately I can not get it work.
The following command I have used:
php -q /var/www/vhosts/domain.com/httpdocs/shop/my_cron.php
Via email it showed me this error: Could not open input file: –q
Which command should I else use, to execute that php file? It just needs to be exeuted, like if you would open it manually via your browser.
It would be great if you can help me with that.
Thank you!