Posted on December 4, 2007
/Under Blogging, Bug Fix, Error Log, General, Godaddy Hosting, Linux, Operating System Tutorial, PHP Function, PHP Programming, PHP Tutorial, Security, Tips and Tricks, Web Technology, windows xp, Word Press
Cron is a Linux command tool that allows you to schedule tasks unattended at a specified time interval. There are several ways to schedule commands to run. You can run any available command or script like php, perl and shell script as a Cron Job. It run specified command and send output to the user or email id specified in the configuration.
This is common error godaddy user face when they run Cron job first time. The Godaddy Cron Manager only ask for the script file to run. You need to give executable file path separately otherwise php file will be run with shell script and produce permission denied error. To over come this problem you simply need to use php executable path as first argument and full path of the script as second argument. Here is the correct Godady executable path.
Perl : /usr/bin/perl
Exmple Cron Job: