I would like a script to be able to run commands similiar to the following:
cd /home/user/
wget http://www.domain.com/file.tar
tar -xf file.tar
del -f file.tar
mv /home/user/file /usr/local/lib
... and a list of other root commands, to be performed after every day after each CP update. I know there has to be some easy way I have not heard of yet, but this would be a script to be run from cron... i just dont know how to program this script... of course it's not a simple cron as its extracting files in specific folders... unless you know a cron command to do this. :D
Any folks know of a way to do this? I would be most grateful.
cd /home/user/
wget http://www.domain.com/file.tar
tar -xf file.tar
del -f file.tar
mv /home/user/file /usr/local/lib
... and a list of other root commands, to be performed after every day after each CP update. I know there has to be some easy way I have not heard of yet, but this would be a script to be run from cron... i just dont know how to program this script... of course it's not a simple cron as its extracting files in specific folders... unless you know a cron command to do this. :D
Any folks know of a way to do this? I would be most grateful.