<key>Nice</key> <integer>1</integer> <key>ProgramArguments</key> <array> <string>/bin/bash</string> <string>-c</string> <string>d=daily; w=weekly; m=monthly; s=`date +%s`; r(){ g=/var/log/$1.out; test $s -lt `tail -1 $g` || \ { /usr/sbin/periodic $1 && echo $[$s + $2] \ >> $g; }; }; r $d 84600; r $w 603000; r $m 2590200 </string> </array> <key>RunAtLoad</key> <true/> <key>StartInterval</key> <integer>3600</integer> </dict> </plist>
html | css | 928 hits since April 2012 | updated 2020-06-07 | webmaster