It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

important question

Moderator: Malcolm

important question

Postby john_zakaria on Wed Dec 08, 2010 6:36 am

hi everyone.. please i want to know how to create a cron job from a file in php i made this command but it does not get any response. it get the error die message

i made it in php and i serched online in google and many websites and i did not solve my problem

my php command is:


Code: Select all
exec("crontab -e * * * * * /usr/local/bin/php -f /home/survey/public_html/john/cron/snd2.php") or die ("<br><br>Error in executing Cron file");


so i want to create or use my cron job using php.. any help
john_zakaria
50+ Club
 
Posts: 60
Joined: Sun Feb 08, 2009 7:29 am

Who is online

Users browsing this forum: No registered users and 0 guests