Cronjob run program only if other programm is already running
1
how do i run a cronjob only when another service is already up running and while the programm itself is not already running? It is important that programm2 starts only after programm1 is already up. */2 * * * * check if programm1 one is running ; check if programm2 is not running ; /etc/init.d programm2 start
cron
share | improve this question
asked yesterday
La Fleur La Fleur
6 1
New contributor
La Fleur is a new contributor to this site. Take care in asking for clarification,...