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