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
Background processes
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
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.
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
@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
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