# Custom scripts directory

**URL:** <https://community.dreamfactory.com/t/custom-scripts-directory/1294>\
**Category:** Server-Side Scripting\
**Created:** [July 22, 2015, 10:04am UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294 "2015-07-22T10:04:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![maurip](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@maurip](https://community.dreamfactory.com/u/maurip)\
**Post date:** [July 22, 2015, 10:04am UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/1 "2015-07-22T10:04:35Z")

</div>

Hello,  
I have a question:  
I want to create a scheduled task that is able to launch every day a custom script.  
In the panel of Task scheduler of Windows I must locate the file \*.js that I want to launch.  
The problem is that I dont find the script file edited with the Dreamfactory custom script editor.  
Why that ? Of course I saved the script in the editor and i tried too to close Firefox.  
If I reopen Firefox I can find the script that I edited, but I’m not able to locate it in a directory of my PC (windows 8.1)  
Bitnami Dreamfactory 1.9.4-0.  
thank you for the help  
Goodbye  
Maurizio Porro

---

<div class="post-metadata">

**Author:** ![maurip](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@maurip](https://community.dreamfactory.com/u/maurip)\
**Post date:** [July 22, 2015, 10:09am UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/2 "2015-07-22T10:09:37Z")

</div>

I’m sorry.  
I found now the directory.  
Thank you anyway.  
Goodbye

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [August 3, 2015, 7:01pm UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/3 "2015-08-03T19:01:07Z")

</div>

For the benefit of the reader, server-side event scripts are stored in

```
{install directory}/platform/storage/.private/scripts 

```

and custom scripts are stored in

```
{install directory}/platform/storage/.private/scripts.user
```

---

<div class="post-metadata">

**Author:** ![maurip](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@maurip](https://community.dreamfactory.com/u/maurip)\
**Post date:** [August 6, 2015, 1:59pm UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/4 "2015-08-06T13:59:13Z")

</div>

thank you for the answer

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [August 6, 2015, 2:33pm UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/5 "2015-08-06T14:33:51Z")

</div>

Split this topic on August 6, 2015, 2:33pm UTC

A post was split to a new topic: [User registration and email confirmation](https://community.dreamfactory.com/t/user-registration-and-email-confirmation/1343)

---

<div class="post-metadata">

**Author:** ![AdrianZ](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@AdrianZ](https://community.dreamfactory.com/u/AdrianZ)\
**Post date:** [September 27, 2016, 8:52am UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/6 "2016-09-27T08:52:15Z")

</div>

Where could I find the location of a Custom Service script on a DreamFactory 2.1 (Windows) install?

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [September 28, 2016, 2:18pm UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/7 "2016-09-28T14:18:01Z")

</div>

In DreamFactory version 2.\* scripts are stored in the database, not in file storage. For custom script services, they’re in the table called `script_config`. For event scripts, they’re in the table called `event_script`

---

<div class="post-metadata">

**Author:** ![LuchoRod](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@LuchoRod](https://community.dreamfactory.com/u/LuchoRod)\
**Post date:** [December 6, 2019, 6:46pm UTC](https://community.dreamfactory.com/t/custom-scripts-directory/1294/8 "2019-12-06T18:46:18Z")

</div>

i’ve set the event body to NULL and set the is\_active flag to ‘0’ in that table, but still triggers. why?
