Hi
Can you suggest some perl script. My OS is HP-UX 11.11 I want to it into a cron job.
Every night it will backup the file with that day's date and open a dummy file.
Thanks
Ash
Hi
Can you suggest some perl script. My OS is HP-UX 11.11 I want to it into a cron job.
Every night it will backup the file with that day's date and open a dummy file.
Thanks
Ash
no need for a perl script if that's all you want to do ... you can do this in ksh or bash very quickly ... see "man mv", "man cp" and "man touch"
Hi
I also want to check the size of the log file and rotate the log file.
Thanks
to check size --- "ls -l /dir/file"
to rotate log --- "mv /dir/file /dir/file1" or "mv /dir/file /dir1/file" or "mv /dir/file /dir1/file1"