Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.
Trace:
Differences
This shows you the differences between two versions of the page.
|
wiki:talk:linux:slug [2009/01/06 15:20] alien |
wiki:talk:linux:slug [2011/02/03 23:59] (current) 174.6.85.242 |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ||
| + | Nice article. Thanks for sharing. | ||
| + | The cronjob that you added to the crontab is probably failing because it does not have a shell process that would create the pipe you are requesting. | ||
| + | |||
| + | As it stands when the article was created: | ||
| + | |||
| + | 0 12 * * * echo "Mail from the slug." | /opt/bin/nail -a /opt/var/log/rsnapshot -s "Rsnapshot activity log" you@inyour.lan | ||
| + | |||
| + | However the pipe "|" is seen as just another argument to the echo command. | ||
| + | Often this is overcome by putting your desired actions in a shell, and then invoking that script which contains the pipe. | ||
| + | |||
| + | Hope this helps anyone else who passes by. <smile> | ||
| + | |||
| + | -- Mark , Thu Feb 3 23:57:58 UTC 2011 | ||