Skip to content

Commit

Permalink
Update command name in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
xypnox committed May 18, 2021
1 parent 4358723 commit 2f050cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Although the script can work on it's own, it is better to setup a cronjob such t
directory="/home/xypnox/notes/"
```
- Setup a cronjob to run it every 10 minutes.
`*/10 * * * * bash /Users/apple/notes/commit_manager.sh`
`*/10 * * * * bash /Users/apple/notes/commit_manager_mac.sh`
- Additionally if you want to setup a log file to see if the git commands errored and when, extend the cronjob as:
`*/10 * * * * bash /Users/apple/notes/commit_manager.sh >> /Users/apple/notes/commit_manager_log.txt 2>&1`
`*/10 * * * * bash /Users/apple/notes/commit_manager_mac.sh >> /Users/apple/notes/commit_manager_log.txt 2>&1`

## TODO

Expand Down

0 comments on commit 2f050cc

Please sign in to comment.