2014年9月23日 / kirito / 0 Comments
If you want to add a time limit task to my server, you follow the steps:
- crontab -e
- Write like the command in the editor
- You can save the file in any location, and a copy will saved in /var/spool/cron
- crontab saved-file to take effect
2014年9月22日 / kirito / 0 Comments
1. Check the timezone:
2. Change the timezone:
3. Be sure to restart cron as it won’t pick up the timezone change and will still be running on UTC.
|
/etc/init.d/cron stop /etc/init.d/cron start |
2014年9月17日 / kirito / 0 Comments
1. npm install node-static -g
2. mkdir public (we could add files on the folder)
3. static /root/public -a 0.0.0.0
Note: If you want more help, try static -h