Đang Thực Hiện

143936 Shell Script Needed - UNIX

Looking for someone to write a shell script (.sh, .ksh) that will run on Solaris OS as a cron job. Below are the requirements:

We have bunch of log files in two folders owned by different users:

Folder Names: /A and /B

The files in these folders are owned by different users. File format is:

[url removed, login to view]

So basically I want the script to look for *.logs in folder /A and /B which haven't been modified in the past 30 days, make a note of that file and notify the owner of the file via email that this file will be deleted within 2-weeks.

When the cron job runs again after 2-weeks, the script will archived these files in a folder (Compress .Z) and deleted the original files.

Sendmail is configured on this server.

I am open for suggestions. Let me know if additional info is needed.

Thanks,

Kỹ năng: Bất kì công việc gì, Perl

Xem thêm: t sh, solaris, shell script, sh, cron script, shell unix, shell script perl, write script file, ksh shell script, compress email, perl unix, compress file, cron job server, perl file format, cron job days, write unix, unix server, unix shell, unix perl, perl email write script, perl write email, email server needed, znwent, script runs, email server unix

Về Bên Thuê:
( 51 nhận xét ) Alpharetta, United States

Mã Dự Án: #1890112