Created
February 28, 2020 06:34
-
-
Save akimichi/6bbda74f36062b5200e2c0907a97bb76 to your computer and use it in GitHub Desktop.
raspberry pi で再起動時の自動起動するためのcrontab
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
#!/bin/sh | |
SHELL=/bin/bash | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/home/emile/.nvm/versions/node/v6.9.2/bin | |
MAILTO=root | |
HOME=/home/emile/app/denrei.node | |
@reboot (sleep 30s ; cd $HOME; nvm use; npm start)& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment