- Server operating system version
- CentOS?
- Plesk version and microupdate number
- Plesk Obsidian?
Dear all, I'm using the restricted version of Plesk Obsidian that my provider has made available to me. It comes with Scheduled Tasks, which I use on a regular basis to keep my sites and their database in good health. Unfortunately, I don't have shell access and can't inspect the full logs to see what happens when scripts are run.
My question is about the correct syntax for the arguments to "Run a PHP script", especially the long option, with the double dash prefix. To prevent one of the scripts from running for days and creating overhead, I attach a couple of options, but it doesn't always look like they are honoured. For instance, to prevent it from running over 1500 seconds, I tried:
--maxtime="1500"
--maxtime=1500
But after 12 hours, it's still running. I couldn't find anything specific about the expected syntax
- Should I use an equals signs or none at all?
- Should I use single quotes or double quotes or none at all?
- Should there also be single quotes to wrap each option, e.g. '--maxtime=1500' ?
Maybe someone could enlighten me?
My question is about the correct syntax for the arguments to "Run a PHP script", especially the long option, with the double dash prefix. To prevent one of the scripts from running for days and creating overhead, I attach a couple of options, but it doesn't always look like they are honoured. For instance, to prevent it from running over 1500 seconds, I tried:
--maxtime="1500"
--maxtime=1500
But after 12 hours, it's still running. I couldn't find anything specific about the expected syntax
- Should I use an equals signs or none at all?
- Should I use single quotes or double quotes or none at all?
- Should there also be single quotes to wrap each option, e.g. '--maxtime=1500' ?
Maybe someone could enlighten me?