This is the first script I have tried to write and is intended to go in my crontab to be run every sunday night. Basically it takes data from one partition that is over 31 day old and moves it to another partition. Before which it deletes anything over a 67 days old in the destination partition in order to free up space for the incoming data. Every command works in the terminal.

I am using Linux and I did set it to be executable and call it correctly. I suppose I should of also noted that the script gets far enough to echo the "scripted started" string before stopping. This leads me to believe that it is the first find command that is the problem but the command runs just fine in a terminal on its own so I don't understand why it would return an error in the script.

Who is online

Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum