Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 04-28-2009, 02:58 AM cron job
Skilled Talker

Posts: 97
Trades: 0
Good morning everyone
plz i want to know how to create a cron job using php function and also how to stop this cron from working using php...
all that i need is to create a cron job using php and when the administrator press send -> the cron will be execute
and when he press stop -> the cron will be deleted from cpanel

note that: the administrator does not have an access to the cpanel and also if he has .. he can not deal with it.

so can anyone have a function to creeate a cron job using php? and also stop it?
john_zakaria is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-28-2009, 04:18 AM Re: cron job
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
you need to modify crontab file for the user you are using for your website.well generally that is outside the scope of php.
my suggestion is to have a php script running all the time and you make this script execute scripts specified in a database or whatever. this can work similarly I think

anyway check that link. it may help
http://www.pseriestech.org/forum/aix...cript-834.html
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");

Last edited by nayes84; 04-28-2009 at 04:45 AM..
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 04-28-2009, 04:28 AM Re: cron job
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
http://www.fullondesign.co.uk/coding...obs-cpanel.htm - This has a tutorial on it on how to add/delete them using cPanel. I'm not sure if it's what your looking for, but should be ok (It's it's from my blog :P)
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Reply     « Reply to cron job
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12034 seconds with 12 queries