Using the absolute path to the executable as others have mentioned is a good idea. Also, bear in mind that if you put the path into $PATH, and you run this script from cron, you will lose that PATH information. A good idea would be to use the full path the executable with the system command.