Difference between revisions of "/lib/systemd/system/phpsessionclean.timer"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
[[systemctl list-timers]]
 +
NEXT                        LEFT        LAST                        PASSED        UNIT                        ACTIVATES
 +
Tue 2021-04-13 14:39:00 UTC  10min left  Tue 2021-04-13 14:09:00 UTC  19min ago    phpsessionclean.timer        [[phpsessionclean.service]]
 +
  
 
  [[/lib/systemd/system/]]phpsessionclean.[[timer]]
 
  [[/lib/systemd/system/]]phpsessionclean.[[timer]]
Line 6: Line 11:
 
   
 
   
 
  [Timer]
 
  [Timer]
  OnCalendar=*-*-* *:09,39:00
+
  [[OnCalendar]]=*-*-* *:09,39:00
  Persistent=true
+
  [[Persistent]]=true
 
   
 
   
 
  [Install]
 
  [Install]
 
  WantedBy=timers.target
 
  WantedBy=timers.target
  
 +
 +
== Related terms ==
 +
* <code>[[/lib/systemd/system/phpsessionclean.service]]</code>
 +
* <code>journalctl -r | grep "Starting Clean php session files"</code>
 +
* <code>[[.timer]]</code>
 +
* [[Timer]]
  
 
== See also ==
 
== See also ==
 +
* {{PHP sessions}}
 
* {{PHP}}
 
* {{PHP}}
  
 
[[Category:PHP]]
 
[[Category:PHP]]
 
[[Category:systemd]]
 
[[Category:systemd]]

Latest revision as of 15:05, 11 September 2021

systemctl list-timers
NEXT                         LEFT         LAST                         PASSED        UNIT                         ACTIVATES
Tue 2021-04-13 14:39:00 UTC  10min left   Tue 2021-04-13 14:09:00 UTC  19min ago     phpsessionclean.timer         phpsessionclean.service


/lib/systemd/system/phpsessionclean.timer
[Unit]
Description=Clean PHP session files every 30 mins

[Timer]
OnCalendar=*-*-* *:09,39:00
Persistent=true

[Install]
WantedBy=timers.target


Related terms[edit]

See also[edit]

Advertising: