Diff -- /etc/cron.d/drift_sense

O Operator
Diff

/etc/cron.d/drift_sense

modified on localhost-ssh-agent at 2026-07-12 00:02:22

Added
+7
lines
Removed
-1
lines
Context
7
unchanged
Blobs
from 73724bb96d06
to 82c6c605bf27
Restore this content →
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
11# /etc/cron.d/drift_sense
22SHELL=/bin/bash
33PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
44
55*/2 * * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_file_scan.pl >> /var/log/drift_sense/file_scan.log 2>&1
66*/5 * * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_schema_scan.pl >> /var/log/drift_sense/schema_scan.log 2>&1
77*/5 * * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_agent_scan.pl >> /var/log/drift_sense/agent_scan.log 2>&1
8*/1 * * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_alert_dispatch.pl >> /var/log/drift_sense/alert_dispatch.log 2>&1# stealth mode canary
8*/1 * * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_alert_dispatch.pl >> /var/log/drift_sense/alert_dispatch.log 2>&1
9
10# Auto-purge -- dry-run daily at 03:15 so operator can see planned actions
11# in PURGE_LOG before enabling. Uncomment the --live line + comment the
12# dry-run line when ready to reclaim disk.
1315 3 * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_purge.pl >> /var/log/drift_sense/purge.log 2>&1
14# 15 3 * * * root /usr/bin/perl /var/www/vhosts/3dshawn.com/site1/_purge.pl --live >> /var/log/drift_sense/purge.log 2>&1