Jump to content

Change group update database with NOW ()


mark1million

Recommended Posts

  • Moderators

Hi,

Im trying to find the code where when you change the pilot group it will update another row in my database with the date time now.

Currently i have an external cron making all pilots inactive if they have not flown a flight within 7 days of joining, this runs just after midnight every day so i need a way of putting in an exception when the account has been made active again by an admin so im going to put a AND rejoin greater than 7 days clause in the sql statement I just cant find that code in the system on the admin side to edit.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...