in reply to A relative cron questions

you can use chdir '/dir'; to change the current working directory of your script. Also you could add the path to your libraies to @INC