# Queued Script Delay Setting Question

**URL:** <https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676>\
**Category:** Server-Side Scripting\
**Created:** [November 1, 2018, 9:31pm UTC](https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676 "2018-11-01T21:31:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Harvey](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mike_harvey/32/572_2.png) [@Mike\_Harvey](https://community.dreamfactory.com/u/Mike_Harvey)\
**Post date:** [November 1, 2018, 9:31pm UTC](https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676/1 "2018-11-01T21:31:07Z")

</div>

According to the documentation below I should be able to set the delay on my queued scripts but I see nowhere in the UI to set these nor does the documentation indicate where in a possible configuration I could do this. ANy help would be great. Am running 2.14.0 on Ubuntu win NGINX.

### Delayed Scripts

Sometimes you may wish to delay the execution of a queued script for some period of time. For instance, you may wish to queue a script that sends a customer a reminder e-mail 5 minutes after sign-up. You may accomplish this using the `delay` configuration option on your script or service. The option values should be in seconds.

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [November 2, 2018, 4:21pm UTC](https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676/2 "2018-11-02T16:21:11Z")

</div>

Hi @Mike_Harvey,

Have you taken a look at this blog article from us?

> **[Queueing With DreamFactory Scripting - API Blog: Everything You Need to Know](https://blog.dreamfactory.com/queueing-with-dreamfactory-scripting/)**
>
> DreamFactory has long supported scripting as a way of allowing users to extend the handling capabilities of existing APIs (i.e. performing actions pre- and post-processing like modifying the request or response), or adding new...

Best,  
Kevin McGahey

---

<div class="post-metadata">

**Author:** ![Mike\_Harvey](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mike_harvey/32/572_2.png) [@Mike\_Harvey](https://community.dreamfactory.com/u/Mike_Harvey)\
**Post date:** [November 2, 2018, 6:25pm UTC](https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676/3 "2018-11-02T18:25:51Z")

</div>

Yeah, I read that through a few times. I see no options like **Queue For Later Execution** anywhere.

---

<div class="post-metadata">

**Author:** ![Mike\_Harvey](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mike_harvey/32/572_2.png) [@Mike\_Harvey](https://community.dreamfactory.com/u/Mike_Harvey)\
**Post date:** [November 2, 2018, 6:31pm UTC](https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676/4 "2018-11-02T18:31:38Z")

</div>

As a matter of fact the screenshots in that article do not reflect what I see in 2.14.0 except for custom script service which is not what I need. I am referring to controlling the queue delay for server side scripting (under Scripts) such as:

> db \> db.\_table.{table\_name} \> db.\_table.{table\_name}.post.queued

Where would I add such a delay config?

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [November 15, 2018, 10:29pm UTC](https://community.dreamfactory.com/t/queued-script-delay-setting-question/4676/5 "2018-11-15T22:29:28Z")

</div>

Hi Mike,

DreamFactory queued scripting takes advantage of Laravel’s built-in queueing feature, for more detailed information, see their documentation here. Every DreamFactory instance comes already setup with the ‘database’ queue setting with all necessary tables created (scripts and failed\_scripts). The queue configuration file is stored in config/queue.php and can be updated if another setup is preferred, such as Beanstalkd, Amazon SQS, or Redis.([https://wiki.dreamfactory.com/DreamFactory/Features/Scripting#Queued\_Scripting\_Setup](https://wiki.dreamfactory.com/DreamFactory/Features/Scripting#Queued_Scripting_Setup))  
([https://laravel.com/docs/5.5/queues](https://laravel.com/docs/5.5/queues))

Best,  
Kevin McGahey
