Question Locked

automatically update a file with date appended

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, I have a job ran from one of the Cisco applications. It creates a .CSV file, ex, results.csv and is put in a certain directory.

I have this application running this job everyday, and everytime it simply overwrites my previous .csv file. Is there a way to automatically append my results.csv file to, for example,

2006-11-27 results.csv, then next day
2006-11-28 results.csv,...
2006-11-19 results.csv.. etc.

Thx..

3 replies

by lowlands

the "how" depends on the language your job is written in. Is it a batch job, a perl or vbscript?

by david.liu

the application is from Ciscoworks VMS getting the info from IDS. Not sure if cisco uses perl.

This discussion is closed to new replies.