[rt-users] Doing scrips in the background?
Kevin Falcone
falcone at bestpractical.com
Tue Nov 6 14:03:46 EST 2012
On Mon, Nov 05, 2012 at 10:40:09AM -0500, Paul Tomblin wrote:
> I have a custom workflow which uses a custom web interface. When the user clicks the "Submit"
> button, the interface creates a "Master" ticket, and then a bunch of sub-tickets, the number
> of which varies depending what services they are requesting. The users are complaining that
> the process of submitting is taking too long. If I were to move the sub-ticket creation into
> an "On Create" scrip to run in TransactionBatch, would that help the "Master" ticket creation
> return faster, or would the Ticket->Create not return until the scrip ran and finished?
TransactionBatch scrips won't solve your problem.
If you want them to be truly asynchronous, you'll need to write a cron job
of some kind, or another monitoring job, to run in the background.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121106/a34adec6/attachment.sig>
More information about the rt-users
mailing list