2012-03-30 - Re: [GRASE-Hotspot] command line option to reset expiry data on user?

Header Data

From: Timothy White <ti***8@gmail.com>
Message Hash: 0a17920ce16830557fd7d83c28fb98dba36fe1a70c7c1407db022163543f9d26
Message ID: <CAESLx0K+mr9xXj2vbw54Lk-4-Wr-HSQQPy8F3udMw_PgAsjsWA@mail.gmail.com>
Reply To: <004001cd0ef6$00452e90$00cf8bb0$@austin.rr.com>
UTC Datetime: 2012-03-30 22:01:07 UTC
Raw Date: Sat, 31 Mar 2012 15:01:07 +1000

Raw message

On Sat, Mar 31, 2012 at 2:23 PM, Mike Ashton <ma***n@austin.rr.com> wrote:
> I was wondering if there is a way to reset the expiration data via command
> line, like something that could be tossed into a cron job? I know that it
> can be done manually through the web interface once an account expires, but
> the ability to do it automatically would be pretty awesome for what I am
> trying to accomplish, and unfortunately my php and/or mysql abilities are
> lacking at best.

There isn't a way to do this yet, but wouldn't be hard to do. I'm just
wondering what your use case for it is? Ideally, if an account has
expired, its ready to be "cleaned" up (archived), and if the user is
still active, they'll be "purchasing" more time/data and not need to
be archived. If you are needing a cron job to unexpire an account,
might it be better to have no expiry?


Tim




Thread