Unix iTOps Tube

Monday, May 7, 2012

Linux script

Hello,

could you please help me with the following request?

I need a linux command script that does the following.

1. delete folders folder1 and folder2 located in install/users/web/folder1&2.

and also delete folder3 install/jboss/server/folder3. All these folders has many folder and files inside.



2. Reboot the machine



3. Then start a cron job called "test.cron"



basically the script should do deleting folders then reboot the machine then start a cron job.



Thanks in advance

Ken




No comments:

Post a Comment