Blu-Express VA Posted July 26, 2011 Report Share Posted July 26, 2011 Hi, i add in my Admin CP a cron job for ceck the status of pilot, but this is from the last flight, so when the pilot register yesterday and the ceck is tomorrow the pilot result inactive because the last flight result on the 1969, so, can i change the code and ceck for the new pilot the date when it joined and for the pilot that have a flight the last flight date?, if is possible in this mode, wich is the file?, i accept also another mode! Thanks Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted July 28, 2011 Author Report Share Posted July 28, 2011 Please reply... i'm awaiting.... Thanks in advance.. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 28, 2011 Administrators Report Share Posted July 28, 2011 I'm not sure what you mean? Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted July 29, 2011 Author Report Share Posted July 29, 2011 Ok, when i add a cronjob in my Admin CP (fivedev) and i select 1 month than the cronjob will to executive the file manteinence.php, we have not problem with cronjob but, when the pilot registered in this month, when the cronjob executive the manteinence.php the pilot result inactive because in the database the last flight of this pilot result in the year 1969 (i add a screen) So, can i change the code and when the cronjob executive the file manteinence.php watch than he is a new pilot registred in this month and he ceck for this only the date of join? and for other pilot than they not registred in this month ceck the last flight date? Thanks!.. Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 29, 2011 Report Share Posted July 29, 2011 Once the pilot completes his/her first flight and it gets accepted, it will change. That is the default date that shows if a pilot first registers and hasn't flown a flight yet. Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted July 29, 2011 Author Report Share Posted July 29, 2011 Yes but if the pilot registred on 30 July, and the control of the cronjob is on the 1 August he result inactive because the last flight result on the 1969!... 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.