Background processes

Contains tips for configurators working with Aware IM
Post Reply
RocketRod
Posts: 907
Joined: Wed Aug 06, 2008 4:22 am
Location: Melbourne

Background processes

Post by RocketRod »

I'm aware that you can run a background process every x seconds by setting it up in a VP.

1. Does the process run every x seconds for each user logged in with that VP?

2. Similarly if the same process is activated via multiple VPs each aligned to a different user types with different user access levels, is only one process running in the background or many?

Cheers Rod
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

1. Yes
2. Many
Aware IM Support Team
RocketRod
Posts: 907
Joined: Wed Aug 06, 2008 4:22 am
Location: Melbourne

Post by RocketRod »

Mmm. Could you provide same facility connected maybe to the scheduler so that we can run a background process at Application level? The scheduler for now can only go down to once a day.

Cheers Rod
BobK
Posts: 545
Joined: Thu Jan 31, 2008 2:14 pm
Location: Cincinnati, Ohio, USA

Post by BobK »

Rod,

I have a process that runs every minute.

When creating a new scheduling item, after entering the information on the scheduling tab, go to the Textual form tab and change the conditions to something like:

If CURRENT_TIMESTAMP>TIME_ADD(SystemSettings.ProcessLastRan,1/60) Then
YourProcess

SystemSettings.ProcessLastRan is a TimeStamp that gets updated to the CURRENT_TIMESTAMP in YourProcess.
Bob
RocketRod
Posts: 907
Joined: Wed Aug 06, 2008 4:22 am
Location: Melbourne

Post by RocketRod »

Thanks for that. Will do.

Cheers Rod
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

@Bob ... thanks for the idea on special schedules.

I built on this idea & documented another process at:
http://www.awareim.com/forum/viewtopic.php?t=5082
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply