stelthius Posted July 15, 2009 Share Posted July 15, 2009 Hello guys just a quick one, is it possible to create & edit a cron using php, Link to comment https://forums.phpfreaks.com/topic/166121-creating-crons-from-php/ Share on other sites More sharing options...
seventheyejosh Posted July 15, 2009 Share Posted July 15, 2009 Yes. Edit: accidently hit submit. A cron is just a php script executed by the server at a predetermined interval. So yes, it is a .php file. Rather, all the ones i've ever used have been. Link to comment https://forums.phpfreaks.com/topic/166121-creating-crons-from-php/#findComment-876109 Share on other sites More sharing options...
cunoodle2 Posted July 15, 2009 Share Posted July 15, 2009 I think what the op is looking for is a way to physically execute and set up a cron job from a php file itself as apposed to manually having to set one up. stelthius can you please clarify your question for us? Link to comment https://forums.phpfreaks.com/topic/166121-creating-crons-from-php/#findComment-876112 Share on other sites More sharing options...
stelthius Posted July 16, 2009 Author Share Posted July 16, 2009 Ok basicly what i want to do is to be able to Create a cron via a php page, save and let the cron execute.. sorry for my poor question originally Link to comment https://forums.phpfreaks.com/topic/166121-creating-crons-from-php/#findComment-876327 Share on other sites More sharing options...
Alex Posted July 16, 2009 Share Posted July 16, 2009 This might be useful: http://www.underwaterdesign.com/2006/06/php_create_a_cron_job_with_php.php Link to comment https://forums.phpfreaks.com/topic/166121-creating-crons-from-php/#findComment-876334 Share on other sites More sharing options...
stelthius Posted July 16, 2009 Author Share Posted July 16, 2009 Hmmm i was thinking more along the lines of a basic editor, wich would allow me to write the cron, and save the cron with the specific title i chose so say i wanted to make script_update i could type that in and save it as that Link to comment https://forums.phpfreaks.com/topic/166121-creating-crons-from-php/#findComment-876342 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.