I want to run my xojo exe after 10 minutes once the server is restart using startup.
But in redhat there is no delay option in startup.
Please advice how to run my xojo after 10 minutes using startup.
I want to run my xojo exe after 10 minutes once the server is restart using startup.
But in redhat there is no delay option in startup.
Please advice how to run my xojo after 10 minutes using startup.
Create a script that calls
sleep(600)
run_the_app
If RedHat > 7.0, then it uses systemd and can delay the start of applications.
See here: https://lists.freedesktop.org/archives/systemd-devel/2016-January/035524.html
Also you can wait until other service is started: https://access.redhat.com/solutions/1383853
If you want to wait to garantee other is running you can use dependencies: https://fedoramagazine.org/systemd-unit-dependencies-and-order/
[quote=343266:@JosMaraTerryJimnez]If RedHat > 7.0, then it uses systemd and can delay the start of applications.
See here: https://lists.freedesktop.org/archives/systemd-devel/2016-January/035524.html
[/quote]
Which is the launchd equivalent of what I said