sentora / sentora-core

Sentora is a web hosting control panel written in PHP for *NIX
GNU General Public License v3.0
648 stars 446 forks source link

[Feat Req] Add "wget" in cron #142

Closed k-andrew closed 9 years ago

k-andrew commented 9 years ago

For Example: Script: http://example.com/cron.php Run wget http://example.com/cron.php >/dev/null

Caffe1neAdd1ct commented 9 years ago

crons are restricted using php blacklist functions and openbase_dir to restrict file access to user's own directories inside /var/sentora/hostdata/username/*

I would suggest using the php script to download the file using curl/http/file_get_content etc.

We would be reluctant to open up this sort of functionality.