Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2008
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to delete it?

    now i know how to make a cron job in php

    PHP Code:
    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??
    Last edited by john_zakaria; 12-23-2010 at 01:27 PM.

  • #2
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,386
    Thanks
    8
    Thanked 1,077 Times in 1,068 Posts
    echo exec('crontab -r') ??

    See this ...
    http://stackoverflow.com/questions/4...e-crontab-jobs


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •