Can I schedule prints to start at a specified time?

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

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 command defines a "dwell" or pausing period for the next command to start:

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 menu structure or use of the REST API of OctoPrint. These options are more difficult to implement.