Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:modifications:cronjob_over_http [2014/11/02 17:04]
swarnat
en:modifications:cronjob_over_http [2014/11/02 17:28] (current)
swarnat
Line 35: Line 35:
 Now you could call your workflow from a cronjob provider like [[http://​www.easycron.com?​ref=22589|EasyCron]]. Now you could call your workflow from a cronjob provider like [[http://​www.easycron.com?​ref=22589|EasyCron]].
 (If you use this provider over this link, you support my work in this wiki.) (If you use this provider over this link, you support my work in this wiki.)
 +But it will work absolutely every cronjob provider or function, which could call a URL.
  
 Simple configure a cronjob for this URL: Simple configure a cronjob for this URL:
Line 41: Line 42:
 Your <​your_application_unique_key>​ you found in your config.inc.php file in the variable **$application_unique_key** Your <​your_application_unique_key>​ you found in your config.inc.php file in the variable **$application_unique_key**
  
-=== Limit access to IP's ===+=== Limit access to static ​IP's ===
  
-I integrate ​access limitation if you only want to grant the access to a single IP's+I integrate ​an access limitation if you only want to grant the access to a single IP's
 You see the line You see the line
  ​$allowOnlyIP = array();  ​$allowOnlyIP = array();
  
 You could use this Array to set the IP's which could be access this file. If this array is empty, every one, which have your unique key could execute your cronjob! You could use this Array to set the IP's which could be access this file. If this array is empty, every one, which have your unique key could execute your cronjob!
 +
 +In the case of EasyCron you could set this variable to:
 +  $allowOnlyIP = array('​142.4.201.54',​ '​198.27.81.134'​);​