cleansedbb
Technical User
I've never set up a cron or script. how would I do the following
I have
/var//var//var//var/
in each I have a log.html which stores visitors. I want to archive it daily like
zip /var/ log1.zip and then next day do log2.zip etc.
also I would like to change a file to .log so I can view it through a log complier program. so maybe
cp /var/ log1.log
after zipping I will want to remove the file and put a clean one up.
so maybe
rm /var/touch /var/ or maybe
cp /var/backup/log.html /var/
I have
/var//var//var//var/
in each I have a log.html which stores visitors. I want to archive it daily like
zip /var/ log1.zip and then next day do log2.zip etc.
also I would like to change a file to .log so I can view it through a log complier program. so maybe
cp /var/ log1.log
after zipping I will want to remove the file and put a clean one up.
so maybe
rm /var/touch /var/ or maybe
cp /var/backup/log.html /var/