Re: redirecting output in cron job not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05May2008 22:01, g <geleem@xxxxxxxxxxxxx> wrote:
| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
| 
| Cameron Simpson wrote:
| >   /root/check_mounts.sh /mnt/m 10.5.0.100:/mnt/host-m/ >SOME_LOGFILE 2>&1
| 
| excuse curiousness, should there not be a '>>' in there?

Probably, yes, if he wants an accumulating log.
Alternatively, it can be convenient to make a "log per day" (or
whatever).

Thanks for pointing that out.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.
- Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux