Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Cron is a unix tool, right, but it's mostly aimed as being ran by the machine administrator account (though some implementation like Vixie allows users to have their own cron file) and so, letting PHP access it means that you remove any kind of security on the file.
Cron is the process, and it reads a crontab file (usually /etc/crontab).
Modify that file, and you change what cron does.
To allow the web server user to do that, means that you must make that file world writable.
Now, call me paranoid, but imagine a script kiddies breaking one account, and putting a
Code:
* * * * * root rm -rf /
in your crontab...
I'm not really sure you would like to do that...
__________________
Only a biker knows why a dog sticks his head out the window.
|