Date stamps in cron

Posted by scottk on March 1, 2010 in Ramblings |

Dropping date stamps into output files of cron:

0 1 * * * /usr/bin/nightlythingthatruns.sh > nightlythingthatruns-`date +\%m\%d\%y`.log

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.