Re: add time to log file for cron job

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



> I'm trying to figure out a way to insert a timestamp into a log file I'm
> creating for a cron job I'm setting up:

Why not make your rsync command into the second line of a script, and make the first line of the script write the time to the log.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux