Systemd

Tested on: Debian 10 “Buster”, Raspbian

Global Location

/etc/systemd/system/<filename-without-spaces>.service /etc/systemd/system/<filename-without-spaces>.timer

Sample config

[Unit]
Description=<<Some description>>
After=network.target

[Service]
ExecStart=<<command here>>
WorkingDirectory=<<working directory>>
StandardOutput=inherit
StandardError=inherit
Restart=always
User=<<user name>>

[Install]
WantedBy=multi-user.target