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

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[/lib/systemd/system/phpsessionclean.service]]</code>
 
* <code>[[/lib/systemd/system/phpsessionclean.service]]</code>
 +
* <code>journalctl -r | grep "Starting Clean php session files"</code>
 
* <code>[[.timer]]</code>
 
* <code>[[.timer]]</code>
 
* [[Timer]]
 
* [[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: