Skip to content

Commit

Permalink
added an example when using special chars in executed command
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 30, 2017
1 parent c117b56 commit 09db7a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ That's it!
Note that the `MAILTO` environment variable can also be defined globally in
`/etc/crontab`; it supports multiple recipients by separating them with a comma.

If you need to use "special" shell characters in your command (like `;` or `|`),
don't forget to quote it:

0 6 * * * croncape "ls -lsa | true"

Besides sending emails, croncape can also kill the run command after a given
timeout, via the `-t` flag (disabled by default):

Expand Down

0 comments on commit 09db7a7

Please sign in to comment.