Re: [ ispman-WishList-1565623 ] Autocommit
Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> Thu, 28 Sep 2006 18:19:01 +0200
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
What I did:
aj@derjohn:~$ cat /home/aj/ispman.commitAllSessions
#!/bin/sh
for i in $(ispman.listSessions | grep -v "0 new" | egrep -o "^[^:]*"); do
ispman.commitSession $i;
done
This could be run via cron.
rgds,
j.
Wim Kerkhoff wrote:
> Wouldn't a cleaner option be to modify ispman-agent to look for all
> pending sessions and process them automatically? That would perform much
> better.
>
> Wim
>
> Atif Ghaffar wrote:
>> how about a cron-job with the combination of
>>
>> ispman.listSessions and
>> ispman.commitSession and a bit of awk... etc?
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Ispman-developers mailing list
> Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/ispman-developers
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV