Created
January 13, 2015 15:05
-
-
Save meyju/426985a37d8a6228e72f to your computer and use it in GitHub Desktop.
cron server stop by lifespan
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
# FILE: /etc/cron.d/lifespan-stop | |
# stopping this server after lifespan | |
# After 5h 50m +5m | |
@reboot root sleep 350m && /sbin/shutdown -h +5 "Lifespan Halt!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment