<p>There are a few options to delay starting using either the OctoPrint environment or directly use G-code for this.</p>

<p>The use of G-code is probably the most simple for you to implement. The <a href="https://reprap.org/wiki/G-code#G4:_Dwell" rel="noreferrer"><code>G4</code></a> command defines a "dwell" or pausing period for the next command to start:</p>

<p><a href="https://i.sstatic.net/ZRBGP.png" rel="noreferrer"><img src="https://i.sstatic.net/ZRBGP.png" alt="G4 Dwell G-code"></a></p>

<p>Depending on the firmware you use, you can use the <code>P</code> or <code>S</code> parameter to specify the pausing period.</p>

<p>To pause the print job (for 1 hour) you need to insert the following line as the first line of your G-code print file:</p>

<pre><code>G4 P3600000 // One hour pausing; defined in milliseconds
</code></pre>

<p>or (if your firmware supports)</p>

<pre><code>G4 S3600 // One hour pausing; defined in seconds
</code></pre>

<p>Other solutions may include the adaption of the OctoPrint <a href="https://github.com/foosel/OctoPrint/wiki/Cookbook:-Custom-Controls" rel="noreferrer">controls</a> menu structure or use of the <a href="http://docs.octoprint.org/en/master/api/job.html" rel="noreferrer">REST API</a> of OctoPrint. These options are more difficult to implement.</p>

CC BY-SA 4.0
2019-03-20T12:07:51.867Z
2019-03-20T12:15:49.020Z
2019-03-20T12:15:49.020Z
0scar
<p>I want to know if it is possible to schedule a 3D Print to start at a specified time so that I don't have to press start. 
<br/>
My 3D Printer has an Arduino mega based RAMPS 1.4 control board &amp; is connected to a Raspberry Pi 3B running OctoPi 0.15.1</p>

<octoprint>
Can I schedule prints to start at a specified time?
Alex V
# Can I schedule prints to start at a specified time?

(Asked by: username_0 on 2019-03-20)

I want to know if it is possible to schedule a 3D Print to start at a specified time so that I don't have to press start.
  
My 3D Printer has an Arduino mega based RAMPS 1.4 control board & is connected to a Raspberry Pi 3B running OctoPi 0.15.1

**Tags:** octoprint


---

## 1 answers

### Answer by username_1 on 2019-03-20. Score: 6 | Accepted answer

There are a few options to delay starting using either the OctoPrint environment or directly use G-code for this.

The use of G-code is probably the most simple for you to implement. The [`G4`](https://reprap.org/wiki/G-code#G4:_Dwell) command defines a "dwell" or pausing period for the next command to start:

[![G4 Dwell G-code](https://i.sstatic.net/ZRBGP.png)](https://i.sstatic.net/ZRBGP.png)

Depending on the firmware you use, you can use the `P` or `S` parameter to specify the pausing period.

To pause the print job (for 1 hour) you need to insert the following line as the first line of your G-code print file:

```
G4 P3600000 // One hour pausing; defined in milliseconds

```

or (if your firmware supports)

```
G4 S3600 // One hour pausing; defined in seconds

```

Other solutions may include the adaption of the OctoPrint [controls](https://github.com/foosel/OctoPrint/wiki/Cookbook:-Custom-Controls) menu structure or use of the [REST API](http://docs.octoprint.org/en/master/api/job.html) of OctoPrint. These options are more difficult to implement.


---

