Also, you may want to add the PID on the end just in case it runs more than once for the same second. :)use POSIX; # %Y = 4 digit year and %y = 2 digit year $dirname = strftime("%Y%m%d%H%M%S", localtime);
--
hiseldl
"Act better than you feel"
In reply to Re: Moving Log files remotely
by hiseldl
in thread Moving Log files remotely
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |