Cron job for backup

der.hans PLUGd at LuftHans.com
Tue Dec 11 11:41:12 MST 2007


Am 11. Dec, 2007 schwätzte Patrick Fleming, EA so:

> BACKUPDIRNAME=`date +Y%m%d%` #these are backtics -

Use $( ) format for bash and ksh scripts :).

BACKUPDIRNAME=$( date +Y%m%d% )

ciao,

der.hans
-- 
#  https://www.LuftHans.com/        http://www.CiscoLearning.org/
#  A t-shirt a day keeps the noose away. - der.hans


More information about the PLUG-discuss mailing list