> For the complete documentation index, see [llms.txt](https://docs.faronics.com/faronicsdeploy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.faronics.com/faronicsdeploy/tasks/schedule-a-custom-script-to-run-on-every-reboot.md).

# Schedule a Custom Script to Run on Every Reboot

Custom Scripts can be scheduled to run upon specified conditions, for example a script can be scheduled to run after every reboot.&#x20;

<figure><img src="/files/7TiDd8nRl4mKS5z91ojE" alt=""><figcaption></figcaption></figure>

1\. Select the **Control Grid** tab on the top menu bar.

2\. Navigate to the **Applications** tab.

3\. Select a **Script** to Run.&#x20;

4\. Click the **RUN** button.

5\. Click the **OPTIONS** button.

![](/files/GtAnYORYRzjLRicNEVES)

6\. Enter a **Schedule Name**.

![](/files/W29cbEFn0zzZidRukoNf)

7\. Click the **Conditions** option.

{% hint style="info" %}
No Schedule is needed here as the script is being run based on the reboot condition.
{% endhint %}

8\. Select **+ Add Condition**.

9\. Select the **On every reboot** option from the drop-down list.

![](/files/GWAJapiPqRvBTlXZEWHC)

10\. Enter the number of seconds to Execute the script after a reboot.

{% hint style="info" %}
30 seconds is the minimum amount of time that can be configured here.
{% endhint %}

11\. **Optional**: Configure the advanced option - Check the box to allow the user to defer the script.

12\. Click the **SCHEDULE** button.

{% hint style="success" %}
The script has been successfully scheduled to run 30 seconds after every reboot.
{% endhint %}
