403Webshell
Server IP : 104.21.14.103  /  Your IP : 3.133.128.251
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_anacron.aug
(*
Module: Test_Anacron
  Provides unit tests and examples for the <Anacron> lens.
*)

module Test_anacron =

(* Variable: conf *)
let conf = "# /etc/anacrontab: configuration file for anacron

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# These replace cron's entries
1	5	cron.daily	 nice run-parts --report /etc/cron.daily
7	10	cron.weekly	 nice run-parts --report /etc/cron.weekly
@monthly	15	cron.monthly nice run-parts --report /etc/cron.monthly
"

(* Test: Anacron.lns *)
test Anacron.lns get conf =
  { "#comment" = "/etc/anacrontab: configuration file for anacron" }
  { }
  { "SHELL" = "/bin/sh" }
  { "PATH" = "/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" }
  { }
  { "#comment" = "These replace cron's entries" }
  { "entry" = "nice run-parts --report /etc/cron.daily"
     { "period" = "1" }
     { "delay" = "5" }
     { "job-identifier" = "cron.daily" } }
  { "entry" = "nice run-parts --report /etc/cron.weekly"
     { "period" = "7" }
     { "delay" = "10" }
     { "job-identifier" = "cron.weekly" } }
  { "entry" = "nice run-parts --report /etc/cron.monthly"
     { "period_name" = "monthly" }
     { "delay" = "15" }
     { "job-identifier" = "cron.monthly" } }

Youez - 2016 - github.com/yon3zu
LinuXploit