Welcome Guest, Not a member yet? Register   Sign In
Cronjob via HTTP
#11

try this ...

class Cronjob extends CI_Controller {

public function index()
{
if( $_SERVER['REMOTE_ADDR'] != $_SERVER['SERVER_ADDR'] ){
die('access is not permitted');
}
...
Reply
#12

Try Easycron - HTTP POST Method

"In additional to conventional GET method, our cron job can be executed with HTTP POST method. In some cases, your scripts may take POST variables as input to work. We make it possible."
Reply




Theme © iAndrew 2016 - Forum software by © MyBB