I want to create a batch processor solution that is capable of triggering a method for a specific client. Is this possible? If so, how? How would I even be able to reference a specific client? A few posts make mention that this would involve creating a plugin that deals with the RMI port, but I am not capable of creating such a plugin.
I had planned to have a scheduled_events table anyway, but it had not occurred to me to run scheduler from within each client to check that table for events to run. I have not used the scheduler yet, but what are the implications of having a scheduled job that runs every minute or so for the entire time a client is connected? Will it slow things down or interfere with other things like printPreviews and such? I suppose I could set a flag to supress the scheduler job if necessary.
The Scheduler/Cron job will ‘wait’ if another Method is in progress so will not interfere with other tasks - however if the User clicks a button that will also have to wait until the Cron job has completed so you may need to split up the scheduled jobs if they are time consuming.