Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:talk:linux:slug [2009/01/06 15:20]
alien created
wiki:talk:linux:slug [2011/02/03 23:59] (current)
174.6.85.242
Line 3: Line 3:
 If you have any feedback, comments or suggestions about my article, please leave them here.\\ If you have any feedback, comments or suggestions about my article, please leave them here.\\
 --- Cheers, Eric //Tue Jan  6 15:20:01 UTC 2009// --- Cheers, Eric //Tue Jan  6 15:20:01 UTC 2009//
 +
 +----------------------------------------------------------------------------------------------
 +
 +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

Personal Tools
sponsoring