{"ok":1,"crons":["SYSTEM_crontab:SHELL=\/bin\/bash\nPATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\nMAILTO=root\nHOME=\/\n\n# For details see man 4 crontabs\n\n# Example of job definition:\n# .---------------- minute (0 - 59)\n# | .------------- hour (0 - 23)\n# | | .---------- day of month (1 - 31)\n# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...\n# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat\n# | | | | |\n# * * * * * user-name command to be executed\n\n","SYSTEM_0hourly:SHELL=\/bin\/bash\nPATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\nMAILTO=root\nHOME=\/\n01 * * * * root run-parts \/etc\/cron.hourly\n","SYSTEM_cpanel-dovecot-solr:","SYSTEM_cpanel_autossl:","SYSTEM_csf-cron:SHELL=\/bin\/sh\n","SYSTEM_csf_update:","SYSTEM_lfd-cron:SHELL=\/bin\/sh\n0 0 * * * root \/usr\/sbin\/csf --lfd restart > \/dev\/null 2>&1\n","SYSTEM_mailman:MAILTO=postmaster\n# At 8AM every day, mail reminders to admins as to pending requests.\n# They are less likely to ignore these reminders if they're mailed\n# early in the morning, but of course, this is local time... ;)\n0 8 * * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/checkdbs\n#\n# At 9AM, send notifications to disabled members that are due to be\n# reminded to re-enable their accounts.\n0 9 * * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/disabled\n#\n# Noon, mail digests for lists that do periodic as well as threshhold delivery.\n0 12 * * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/senddigests\n#\n# 5 AM on the first of each month, mail out password reminders.\n0 5 1 * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/mailpasswds\n#\n# Every 5 mins, try to gate news to mail. You can comment this one out\n# if you don't want to allow gating, or don't have any going on right now,\n# or want to exclusively use a callback strategy instead of polling.\n#0,5,10,15,20,25,30,35,40,45,50,55 * * * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/gate_news\n#\n# At 3:27am every night, regenerate the gzip'd archive file. Only\n# turn this on if the internal archiver is used and\n# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py\n27 3 * * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/nightly_gzip\n#\n# At 4:30AM daily, cull old entries from the 'bad' and 'shunt' queues.\n30 4 * * * mailman \/usr\/local\/cpanel\/scripts\/restartsrv_mailman --status &> \/dev\/null && \/usr\/bin\/python -S \/usr\/local\/cpanel\/3rdparty\/mailman\/cron\/cull_bad_shunt\n","SYSTEM_maldet_pub:*\/5 * * * * root \/usr\/local\/maldetect\/maldet --mkpubpaths >> \/dev\/null 2>&1\n","SYSTEM_raid-check:","SYSTEM_softaculous:13 15 * * * root \/usr\/local\/cpanel\/3rdparty\/bin\/php -d disable_functions=\"\" \/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/softaculous\/cron.php >> \/dev\/null 2>&1\n*\/5 * * * * root \/usr\/local\/cpanel\/3rdparty\/bin\/php -d disable_functions=\"\" \/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/softaculous\/do_backups.php >> \/dev\/null 2>&1\n\n","SYSTEM_softaculous2:43 2 *\/2 * * root \/usr\/local\/cpanel\/3rdparty\/bin\/php -d disable_functions=\"\" \/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/softaculous\/cron2.php >> \/dev\/null 2>&1\n\n","SYSTEM_sysstat:","HOURLY_0anacron:#!\/bin\/bash\n# Skip excecution unless the date has changed from the previous run \nif test -r \/var\/spool\/anacron\/cron.daily; then\n day=`cat \/var\/spool\/anacron\/cron.daily`\nfi\nif [ `date +%Y%m%d` = \"$day\" ]; then\n exit 0;\nfi\n\n# Skip excecution unless AC powered\nif test -x \/usr\/bin\/on_ac_power; then\n \/usr\/bin\/on_ac_power &> \/dev\/null\n if test $? -eq 1; then\n exit 0\n fi\nfi\n\/usr\/sbin\/anacron -s\n","DAILY_apf:#!\/bin\/bash\n\/etc\/apf\/apf -f >> \/dev\/null 2>&1\n\/etc\/apf\/apf -s >> \/dev\/null 2>&1\n\n","DAILY_csget:","DAILY_freshclam:#!\/bin\/sh\n\n### A simple update script for the clamav virus database.\n### This could as well be replaced by a SysV script.\n\n\/usr\/bin\/freshclam --quiet\n","DAILY_logrotate:","DAILY_makewhatis.cron:","DAILY_maldet:#!\/usr\/bin\/env bash\nexport PATH=\/bin:\/sbin:\/usr\/bin:\/usr\/sbin:\/usr\/local\/bin:\/usr\/local\/sbin:$PATH\nexport LMDCRON=1\ninspath='\/usr\/local\/maldetect'\nintcnf=\"$inspath\/internals\/internals.conf\"\n\nif [ -f \"$intcnf\" ]; then\n\t. $intcnf\nelse\n\techo \"\\$intcnf not found.\"\n\texit 1\nfi\nif [ -f \"$cnf\" ]; then\n\t. $cnf\n\tif [ -f \"$compatcnf\" ]; then\n\t . $compatcnf\n\tfi\nelse\n\techo \"could not find \\$cnf, fatal error, bye.\"\n\texit 1\nfi\n\nif [ -f \"\/etc\/sysconfig\/maldet\" ]; then\n\t. \/etc\/sysconfig\/maldet\nelif [ -f \"\/etc\/default\/maldet\" ]; then\n\t. \/etc\/default\/maldet\nfi\n\nif [ -f \"$cron_custom_conf\" ]; then\n\t. $cron_custom_conf\nfi\n\nif [ -z \"$scan_days\" ]; then\n\tscan_days=1\nfi\n\nif [ -z \"$cron_prune_days\" ]; then\n\tcron_prune_days=21\nfi\n\nif [ \"$find\" ]; then\n\t# prune any quarantine\/session\/tmp data older than 7 days\n\ttmpdirs=\"$tmpdir $varlibpath\/sess $varlibpath\/quarantine $varlibpath\/pub\"\n\tfor dir in $tmpdirs; do\n\t if [ -d \"$dir\" ]; then\n\t $find $dir -type f -mtime +${cron_prune_days} -print0 | xargs -0 rm -f >> \/dev\/null 2>&1\n\t fi\n\tdone\nfi\n\nif [ \"$autoupdate_version\" == \"1\" ] || [ \"$autoupdate_signatures\" == \"1\" ]; then\n\t# sleep for random 1-999s interval to better distribute upstream load\n\tsleep $(echo $RANDOM | cut -c1-3) >> \/dev\/null 2>&1\nfi\n\nif [ \"$autoupdate_version\" == \"1\" ]; then\n\t# check for new release version\n\t$inspath\/maldet -d >> \/dev\/null 2>&1\nfi\n\nif [ \"$autoupdate_signatures\" == \"1\" ]; then\n\t# check for new definition set\n\t$inspath\/maldet -u >> \/dev\/null 2>&1\nfi\n\n# if we're running inotify monitoring, send daily hit summary\nif [ \"$(ps -A --user root -o \"cmd\" | grep -E maldetect | grep -E inotifywait)\" ]; then\n $inspath\/maldet --monitor-report >> \/dev\/null 2>&1\nelif [ \"$cron_daily_scan\" == \"1\" ]; then\n\tif [ -d \"\/home\/virtual\" ] && [ -d \"\/usr\/lib\/opcenter\" ]; then\n\t\t# ensim\n\t $inspath\/maldet -b -r \/home\/virtual\/?\/fst\/var\/www\/html\/,\/home\/virtual\/?\/fst\/home\/?\/public_html\/ $scan_days >> \/dev\/null 2>&1\n\telif [ -d \"\/etc\/psa\" ] && [ -d \"\/var\/lib\/psa\" ]; then\n\t\t# psa\n\t\t$inspath\/maldet -b -r \/var\/www\/vhosts\/?\/ $scan_days >> \/dev\/null 2>&1\n elif [ -d \"\/usr\/local\/directadmin\" ]; then\n # DirectAdmin\n $inspath\/maldet -b -r \/home?\/?\/domains\/?\/public_html\/,\/var\/www\/html\/?\/ $scan_days >> \/dev\/null 2>&1\n\telif [ -d \"\/var\/www\/clients\" ]; then\n\t\t# ISPConfig\n $inspath\/maldet -b -r \/var\/www\/clients\/?\/web?\/web,\/var\/www\/clients\/?\/web?\/subdomains,\/var\/www $scan_days >> \/dev\/null 2>&1\n\telif [ -d \"\/etc\/webmin\/virtual-server\" ]; then\n\t\t# Virtualmin\n $inspath\/maldet -b -r \/home\/?\/public_html\/,\/home\/?\/domains\/?\/public_html\/ $scan_days >> \/dev\/null 2>&1\n\telif [ -d \"\/usr\/local\/ispmgr\" ] || [ -d \"\/usr\/local\/mgr5\" ]; then\n\t\t# ISPmanager\n\t\t$inspath\/maldet -b -r \/var\/www\/?\/data\/,\/home\/?\/data\/ $scan_days >> \/dev\/null 2>&1\n\telif [ -d \"\/var\/customers\/webs\" ]; then\n\t\t# froxlor\n\t\t$inspath\/maldet -b -r \/var\/customers\/webs\/ $scan_days >> \/dev\/null 2>&1\n elif [ -d \"\/usr\/local\/vesta\" ] || [ -d \"\/usr\/local\/hestia\" ]; then\n # VestaCP or HestiaCP\n $inspath\/maldet -b -r \/home\/?\/web\/?\/public_html\/,\/home\/?\/web\/?\/public_shtml\/,\/home\/?\/tmp\/,\/home\/?\/web\/?\/private\/ $scan_days >> \/dev\/null 2>&1\n elif [ -d \"\/usr\/share\/dtc\" ]; then\n # DTC\n if [ -f \/var\/lib\/dtc\/saved_install_config ]; then\n . \/var\/lib\/dtc\/saved_install_config\n fi\n $inspath\/maldet -b -r ${conf_hosting_path:-\/var\/www\/sites}\/?\/?\/subdomains\/?\/html\/ $scan_days >> \/dev\/null 2>&1\n\telse\n\t\t# cpanel, interworx and other standard home\/user\/public_html setups\n\t $inspath\/maldet -b -r \/home?\/?\/public_html\/,\/var\/www\/,\/usr\/local\/apache\/htdocs\/ $scan_days >> \/dev\/null 2>&1\n\tfi\nfi\n\nif [ -f \"$cron_custom_exec\" ]; then\n\t. $cron_custom_exec\nfi\n","DAILY_mlocate.cron:","DAILY_readahead.cron:#!\/bin\/bash\n\n#\n# Generates sorted readahead files\n#\n# Copyright (C) 2007 Red Hat, Inc.\n# Karel Zak \n#\n\nrenice +19 -p $$ >\/dev\/null 2>&1\nionice -c3 -p $$ >\/dev\/null 2>&1\n\nTYPES=\"early later\"\nREADAHEAD_CMD=\"\/sbin\/readahead\"\nREADAHEAD_BASE=\"\/var\/lib\/readahead\"\n\nfor LTYPE in $TYPES; do\n\tif [ -s \"$READAHEAD_BASE\/custom.$LTYPE\" ]; then\n\t\tFLS=\"$READAHEAD_BASE\/custom.$LTYPE\"\n\telse\n\t\tFLS=$(ls $READAHEAD_BASE\/*.$LTYPE 2>\/dev\/null )\n\tfi\n\t\n\tif [ -n \"$FLS\" ]; then\n\t\t$READAHEAD_CMD --sort --output=$READAHEAD_BASE\/$LTYPE.sorted $FLS &>\/dev\/null\n\tfi\ndone\n","DAILY_tmpwatch:#! \/bin\/sh\nflags=-umc\n\/usr\/sbin\/tmpwatch \"$flags\" -x \/tmp\/.X11-unix -x \/tmp\/.XIM-unix \\\n\t-x \/tmp\/.font-unix -x \/tmp\/.ICE-unix -x \/tmp\/.Test-unix \\\n\t-X '\/tmp\/hsperfdata_*' -X '\/tmp\/.hdb*lock' -X '\/tmp\/.sapstartsrv*.log' \\\n\t-X '\/tmp\/pymp-*' 10d \/tmp\n\/usr\/sbin\/tmpwatch \"$flags\" 30d \/var\/tmp\nfor d in \/var\/{cache\/man,catman}\/{cat?,X11R6\/cat?,local\/cat?}; do\n if [ -d \"$d\" ]; then\n\t\/usr\/sbin\/tmpwatch \"$flags\" -f 30d \"$d\"\n fi\ndone\n"]}