• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question How to know a schedule task is running?

sweetman

Basic Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
Plesk Obsidian 18.0.44 update #3
Hello all,
I created a new Plesk task schedule to run a specific command.
When I run this command from command line the script atks hours to complete.
But when I run it from the task scheduler GUI (run now) it says the script completed succesfully in 5 seconds (!).
Is this normal or have I to investigate further?
Here is the full command:
java -jar /var/www/vhosts/mydomain/httpdocs/connector/Connector.jar parameter1 /var/www/vhosts/mydomain/httpdocs/connector/configuration/Connector.xml parameter2

Thanks in advance for any help.
Sorry for the stupid question, but I don't use linux so often.
TIA
tony
 
Back
Top