...

View Full Version : how to delete it?



john_zakaria
12-23-2010, 01:23 PM
now i know how to make a cron job in php


exec("echo '* * * * * /usr/local/bin/php -f /home/survey/public_html/john/cron/snd2.php' | crontab -");

i want now to know how to delete this cron job from cpanel but also using my php code..

any help??

mlseim
12-23-2010, 01:39 PM
echo exec('crontab -r') ??

See this ...
http://stackoverflow.com/questions/4421020/use-php-to-create-edit-and-delete-crontab-jobs



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum