Skip to content

Commit 09db7a7

Browse files
committed
added an example when using special chars in executed command
1 parent c117b56 commit 09db7a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ That's it!
3434
Note that the `MAILTO` environment variable can also be defined globally in
3535
`/etc/crontab`; it supports multiple recipients by separating them with a comma.
3636

37+
If you need to use "special" shell characters in your command (like `;` or `|`),
38+
don't forget to quote it:
39+
40+
0 6 * * * croncape "ls -lsa | true"
41+
3742
Besides sending emails, croncape can also kill the run command after a given
3843
timeout, via the `-t` flag (disabled by default):
3944

0 commit comments

Comments
 (0)