https://github.com/krishanthisera/run-perl-process-on-the-crontab-without-replication-
https://github.com/krishanthisera/run-perl-process-on-the-crontab-without-replication-
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/krishanthisera/run-perl-process-on-the-crontab-without-replication-
- Owner: krishanthisera
- Created: 2016-06-02T09:57:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-02T11:20:30.000Z (about 9 years ago)
- Last Synced: 2025-01-07T11:50:07.297Z (5 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RUN-Perl-Process-on-the-crontab-Without-replication
Check the existence of the given process and if it has,
More than one process it’ll kill the duplicate process;
One process It’ll do nothing.
If that particular process is dead, It’ll start the particular process.
Usage :First grant the permission on the shell script
[root@localhost src]# chmod +x ./checkrun.sh
Give your path to the perl file as a command line argument
[root@localhost src]# ./checkrun.sh /home/logger.pl