kingdl Posted January 8, 2016 Report Share Posted January 8, 2016 Alright, I would love to see a plugin the would be made for blesta that would make the cron thingy run on a X amount of minutes. Im sure you guys can do this easily. Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted January 8, 2016 Report Share Posted January 8, 2016 to read https://docs.blesta.com/display/dev/Plugin+Cron+Tasks Quote Link to comment Share on other sites More sharing options...
Tyson Posted January 9, 2016 Report Share Posted January 9, 2016 What do you mean exactly? Cron jobs on your server should already be running the automation tasks in Blesta every X minutes. Quote Link to comment Share on other sites More sharing options...
kingdl Posted January 9, 2016 Author Report Share Posted January 9, 2016 Well there is the one under settings > automation run manually. For a person to get there minecraft server I got to hit the manual button the server activates. Also just tried doing the plugin using these posts, and no go. https://docs.blesta.com/display/dev/Plugin+Cron+Tasks https://docs.blesta.com/display/dev/Creating+a+Plugin Quote Link to comment Share on other sites More sharing options...
Michael Posted January 9, 2016 Report Share Posted January 9, 2016 Why not just tell them it takes 5 minutes for the cron to run, we do that and no-one complains. Quote Link to comment Share on other sites More sharing options...
Tyson Posted January 11, 2016 Report Share Posted January 11, 2016 You should setup a cron job on your web server to automatically run the cron every 5 minutes so you do not have to hit the button in Blesta to run it manually. See here. Quote Link to comment Share on other sites More sharing options...
kingdl Posted January 12, 2016 Author Report Share Posted January 12, 2016 Well i would would that but everytime i uncomment #RewriteCond %{HTTPS} !=on #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L] That it just then breaks, then not only that my apache service wont allow .htaccess Quote Link to comment Share on other sites More sharing options...
Michael Posted January 12, 2016 Report Share Posted January 12, 2016 Well i would would that but everytime i uncomment #RewriteCond %{HTTPS} !=on #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L] That it just then breaks, then not only that my apache service wont allow .htaccess You can use HSTS, which is done via the apache file, or you can use other force Https:// You could try for example: RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.