document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. crontab_change(u)
  2.  
  3. init
  4.     status =piktstatus
  5.     level =piktlevel
  6.     task “Report changes in (u) crontabs”
  7.     input proc “if [ -e =hstdir/log/(u).crontab.bak ];
  8.     then =diff =hstdir/log/(u).crontab.bak =hstdir/log/(u).crontab
  9.     else =cat =hstdir/log/(u).crontab 2>/dev/null; fi”
  10.  
  11. begin
  12.     doexec wait “=crontab -u (u) -l > =hstdir/log/(u).crontab”
  13.  
  14. rule
  15.     output mail $inlin
  16.  
  17. end
  18.     doexec wait “=mv =hstdir/log/(u).crontab =hstdir/log/(u).crontab.bak”
');