updated notes
This commit is contained in:
+1
-1
@@ -270,7 +270,6 @@ sudo nano /etc/systemd/system/myapp.service
|
|||||||
# ExecStart=/usr/bin/myapp
|
# ExecStart=/usr/bin/myapp
|
||||||
# User=myuser
|
# User=myuser
|
||||||
|
|
||||||
|
|
||||||
### Creating a timer ###
|
### Creating a timer ###
|
||||||
sudo nano /etc/systemd/system/myapp.timer
|
sudo nano /etc/systemd/system/myapp.timer
|
||||||
# [Unit]
|
# [Unit]
|
||||||
@@ -279,6 +278,7 @@ sudo nano /etc/systemd/system/myapp.timer
|
|||||||
# [Timer]
|
# [Timer]
|
||||||
# OnBootSec=10min # Run the timer 10 minutes after the system starts
|
# OnBootSec=10min # Run the timer 10 minutes after the system starts
|
||||||
# OnCalendar=*-*-* 10:00:00 # Run at 10:00 AM every day
|
# OnCalendar=*-*-* 10:00:00 # Run at 10:00 AM every day
|
||||||
|
# OnCalendar=*-*-* *:*:0 # Run at every minute
|
||||||
|
|
||||||
# [Install]
|
# [Install]
|
||||||
# WantedBy=graphical.target # Run the timer on the graphical target
|
# WantedBy=graphical.target # Run the timer on the graphical target
|
||||||
|
|||||||
Reference in New Issue
Block a user