Looking for CronJob command to Stop an App on Schedule
-
wrote on Aug 7, 2024, 12:41 PM last edited by
Hi Good Day Guys,
I am wondering if someone could guide if there is an option to Stop and Start an App with cronjob on a specific time if yes what are the commands for Stop, Start and Restart.
Or if there is any other method exist.
Thank you in advance for your help.
-
You could use the cloudron cli for this: https://docs.cloudron.io/packaging/cli/#listing-apps
-
https://docs.cloudron.io/api.html#tag/Apps/operation/startApp and https://docs.cloudron.io/api.html#tag/Apps/operation/stopApp are the relevant API calls
-
wrote on Aug 9, 2024, 3:46 AM last edited by
Thank you for the help