Bokjan Posted August 29, 2012 Report Share Posted August 29, 2012 Hello all, I'd like to Auto Accept PIREPs. Now I can auto accept PIREPs, but other informations are not change. Maybe you will say that can make a fake PIREP. That's not problem. I think add a cron job will solve this problem... This php files is located in "core" But it didn't make any changes, even it can't accept PIREPs. I'm not good at PHP... so i need your help Is there anybody tried to auto accept PIREPs? Quote Link to comment Share on other sites More sharing options...
Bokjan Posted August 29, 2012 Author Report Share Posted August 29, 2012 Maybe I can add some code to admin/maintenance.php , and then add a cron job? Quote Link to comment Share on other sites More sharing options...
Bokjan Posted August 29, 2012 Author Report Share Posted August 29, 2012 Now i can make changes to those informations. Just add: MainController::Run('Maintenance', 'resethours'); MainController::Run('Maintenance', 'resetsignatures'); MainController::Run('Maintenance', 'resetdistances'); MainController::Run('Maintenance', 'resetpirepcount'); MainController::Run('Maintenance', 'resetpilotpay'); MainController::Run('Maintenance', 'clearcache'); to maintenance.php But no change in the total flights of users. 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.