{"action":"opened","issue":{"url":"https://api.github.com/repos/junxnone/junxnone.github.io/issues/158","repository_url":"https://api.github.com/repos/junxnone/junxnone.github.io","labels_url":"https://api.github.com/repos/junxnone/junxnone.github.io/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/junxnone/junxnone.github.io/issues/158/comments","events_url":"https://api.github.com/repos/junxnone/junxnone.github.io/issues/158/events","html_url":"https://github.com/junxnone/junxnone.github.io/issues/158","id":383701417,"node_id":"MDU6SXNzdWUzODM3MDE0MTc=","number":158,"title":"crontab","user":{"login":"junxnone","id":2216970,"node_id":"MDQ6VXNlcjIyMTY5NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/2216970?v=4","gravatar_id":"","url":"https://api.github.com/users/junxnone","html_url":"https://github.com/junxnone","followers_url":"https://api.github.com/users/junxnone/followers","following_url":"https://api.github.com/users/junxnone/following{/other_user}","gists_url":"https://api.github.com/users/junxnone/gists{/gist_id}","starred_url":"https://api.github.com/users/junxnone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junxnone/subscriptions","organizations_url":"https://api.github.com/users/junxnone/orgs","repos_url":"https://api.github.com/users/junxnone/repos","events_url":"https://api.github.com/users/junxnone/events{/privacy}","received_events_url":"https://api.github.com/users/junxnone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T04:31:30Z","updated_at":"2018-11-23T04:31:30Z","closed_at":null,"author_association":"OWNER","body":"\r\n>Ubuntu 18.04 Google Cloud\r\n# Add new task\r\n```\r\n# crontab -e\r\n```\r\n```\r\n# m h  dom mon dow   command\r\n0 0 * * 1  /home/xxxx/restart_ssserver.sh\r\n```\r\n每周一零时执行脚本 restart_ssserver.sh\r\n\r\n# Format\r\n```\r\n{minute} {hour} {day-of-month} {month} {day-of-week} {full-path-to-shell-script} \r\no minute: 区间为 0 – 59 \r\no hour: 区间为0 – 23 \r\no day-of-month: 区间为0 – 31 \r\no month: 区间为1 – 12. 1 是1月. 12是12月. \r\no Day-of-week: 区间为0 – 7. 周日可以是0或7.\r\n```\r\n"}}
{"actor":{"display_login":"junxnone"}}