Current time: 11-19-2024, 09:29 PM Hello There, Guest! (LoginRegister)


Post Reply 
Cron support
Author Message
sema Offline


Posts: 2
Joined: Feb 2007
Reputation: 0
Post: #4
RE: Cron support
I have used hosts where you could get PHP-scripts executed by url, and other hosts where i could make cron-jobs to trigger PHP scripts with the PHP CGI. (you can get the PHP CGI to use a php.ini file, but i do not know if you can get it to use the open_basedir security feature in PHP)

The PHP-script by url should be easy to implement, but it would be nice to execute scripts under the webroot, so the script could not be triggered by users.

Interface:
The interface could be split up into two user groups, the beginner and the experienced. Writing commands for the cron can be hard for people not familiar with the syntax, so dropdown boxes or select boxes would be nice, but if you are experienced with cron setup then a simple text input would be faster to use. If i remember correctly then CPanel had both a expert and novice input page.

It could be possible to control the commands the user can get cron to execute if the command part were a dropdown box, so the user could select /usr/bin/php5 and /usr/bin/php4 and then write the path to the script, but still the php scripts could execute system calls if not disabled.
02-02-2007 11:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Cron support - sema - 02-02-2007, 03:26 AM
RE: Cron support - Kermit - 02-02-2007, 10:59 AM
RE: Cron support - ephigenie - 02-02-2007, 08:30 PM
RE: Cron support - sema - 02-02-2007 11:27 PM
RE: Cron support - Alexey - 02-03-2007, 03:33 PM
RE: Cron support - RatS - 02-03-2007, 06:31 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)