[WBEL-users] quick script help
Erick Perez
eaperezh at gmail.com
Thu Mar 31 11:22:18 CST 2005
Hi there, i need some help with a quick script (im not very good with
perl, still learning)
i want to run a cron at certain time in the morning and that cron should:
1- check for file named /var/log/mondo-archive.log
2- if exists move the file to /root/backuplogs/mondo-archive.log.TODAYSDATE
how do i extract todays date(format MMDDYY), save it into a variable
and then append it to the filename
thanks,
--
-------------------------------------------
Erick Perez
Linux User 376588
http://counter.li.org/ (Get counted!!!)
Panama, Republic of Panama
More information about the Whitebox-users
mailing list