Create the scheduled task
Locate the crontabs folder, usually located at /var/spool/cron/crontab. In the folder will be a text file with the same name as the currently logged in user. Open that text file in Joe/vi and add the following line to the file:
mm hh dd mm yy /folder/subfolder/yourfilewhere mm is the minutes, hh is the hour etc. For example, if you want to run a php file every day at 14:00, you would add the folllowing to the file:
00 14 * * * /www/site/myfile.phpRun the command crontab filename to register the file.
Delete the scheduled task
Open up the text file and remove the appropriate line from the file. Execute the command crontab filename, for example to register the file.
Alternatively, running the command crontab -d will delete all cron jobs for the currently logged in user.