Re: [Hampshire] Cron script problem

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] Cron script problem

> (like the file I wanted crontab to run only needed the file name not the
> .sh on the end of it)


That *is* the filename.

foo.sh is the name of a file. foo is the name of another file. These are
not the same file.

If you tell the OS to execute a file called foo.sh, then foo.sh is the
name of the file it will execute. It will not attempt to execute foo,
because that is not the file you told it to run...

This was the main problem I saw with your cron scripts - you were telling
it to execute a file that did not exist.

HTH

Vic.