# auto retire

**URL:** <https://forum.phpvms.net/t/auto-retire/3882>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [January 4, 2011, 11:33pm UTC](https://forum.phpvms.net/t/auto-retire/3882 "2011-01-04T23:33:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [January 4, 2011, 11:33pm UTC](https://forum.phpvms.net/t/auto-retire/3882/1 "2011-01-04T23:33:06Z")

</div>

hello all

i am having a problem with the auto retire its set to 30 days but its not retireing anny pilots annymore.

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [January 4, 2011, 11:40pm UTC](https://forum.phpvms.net/t/auto-retire/3882/2 "2011-01-04T23:40:07Z")

</div>

found the problem i had a cron job running and after i disabled it in the local.config.php it was working again.

---

<div class="post-metadata">

**Author:** ![imnemina](https://forum.phpvms.net/user_avatar/forum.phpvms.net/imnemina/32/231_2.png) [@imnemina](https://forum.phpvms.net/u/imnemina)\
**Post date:** [February 24, 2013, 2:21am UTC](https://forum.phpvms.net/t/auto-retire/3882/3 "2013-02-24T02:21:26Z")

</div>

I have the same problem. Past 120 days, the pilots do not pass to retired status.

# After how long to mark a pilot inactive, in days

Config::Set(‘PILOT\_AUTO\_RETIRE’, true);

Config::Set(‘PILOT\_INACTIVE\_TIME’, 120);

Is this the problem?

# Config VaCentral

Config::Set(‘VACENTRAL\_ENABLED’, true);

Config::Set(‘VACENTRAL\_API\_SERVER’, ‘[http://api.phpvms.net](http://api.phpvms.net)’);

Config::Set(‘VACENTRAL\_API\_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

Best regards
