Created
April 26, 2024 05:42
-
-
Save hgati/dfb037fb09da8a31c604920cbbe46ab6 to your computer and use it in GitHub Desktop.
스크립트 실행중이 아닐경우만, 스크립트 실행 크론잡
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* * * * * cd /home/myaccount/task && if ! $(pgrep -f 'php ./php_inotify'); then ./php_inotify > ./tmp/php_inotify.log 2>&1; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment