Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.

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

Next revision
Previous revision
wiki:talk:linux:slug [2009/01/06 15:20] – created alienwiki: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
 Discussion page for the article &quot;a backup server using NSLU2, unslung and rsnapshot&quot; ()
SlackDocs