Hello friend,
the new version already has this system, you can check your VA to be active through the script.
local.config
39 After how long to mark a pilot inactive, in days
40 Config::Set('PILOT_AUTO_RETIRE', false);
41 Config::Set('PILOT_INACTIVE_TIME', 90);
Change to:
# After how long to mark a pilot inactive, in days
Config::Set('PILOT_AUTO_RETIRE', true);
Config::Set('PILOT_INACTIVE_TIME', 30);
PILOT_INACTIVE_TIME', 30 = the days for INACTIVE