Account and File expiration scripts
Posted: Thu Jul 19, 2012 11:12 am
Hi All,
I was wondering how I would create scripts to do the following:
[1] To check the file age across a Domain, and email the users which own files older than XX days with a list of those files in one email. (we use the emailaddress field when accounts are created).
[2] To check if an account wasn't used for XX days and send the account owner an email about their inactivty. Followed by a second script which checks if an account wasn't used for XX +7 days and emails and locks the account.
Anyone would have an idea how I would do this in a LUA script?
So far LUA is new to me and would appreciate some starting up help.
I was wondering how I would create scripts to do the following:
[1] To check the file age across a Domain, and email the users which own files older than XX days with a list of those files in one email. (we use the emailaddress field when accounts are created).
[2] To check if an account wasn't used for XX days and send the account owner an email about their inactivty. Followed by a second script which checks if an account wasn't used for XX +7 days and emails and locks the account.
Anyone would have an idea how I would do this in a LUA script?
So far LUA is new to me and would appreciate some starting up help.