--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/e1722f8d-7f8a-4e40-b343-805d045ed69cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/6ec67dcf-66ff-4532-ac5d-e56b8a82f9e8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/a7785a88-c1ca-48a3-bfa2-3456aac2a7b7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/e97bdaaa-3e03-4418-90f9-5f435c98293cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/bebfc8dc-911a-46ba-887a-209941cb19f7n%40googlegroups.com.
Hi Nick,
I set up the onChange() trigger manually in the start. Then, when the script starts it deletes the trigger and the last thing it does is to create a new onChange() trigger for the next run.
I was exploring using a URLFetch to determine if there were other running processes already and then to terminate. However, it seemed quite a long winded way of achieving the result so I was interested to know if anyone had a neater solution.
I will have a look at the Drive push notification.
Thanks,
Stewart
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/e1556953-009d-4f46-ae82-e7d6f95fe637n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/0c66d93e-f9a1-4336-94b7-eb0ee59f011dn%40googlegroups.com.