Files
NetAlertX/install/pialert.cron
leiweibau dffca5e619 Add "cleanup" parameter
- a section for future automated cleanup tasks.
- add cleanup to the .cron file
- add cleaning "Online_History" exept the last 1 day
2022-08-03 18:48:12 +02:00

14 lines
953 B
Plaintext

#-------------------------------------------------------------------------------
# Pi.Alert
# Open Source Network Guard / WIFI & LAN intrusion detector
#
# pialert.cron - Back module. Crontab jobs
#-------------------------------------------------------------------------------
# Puche 2021 pi.alert.application@gmail.com GNU GPLv3
#-------------------------------------------------------------------------------
0 3 * * 1 python ~/pialert/back/pialert.py update_vendors >~/pialert/log/pialert.vendors.log 2>&1
*/3 * * * * python ~/pialert/back/pialert.py internet_IP >~/pialert/log/pialert.IP.log 2>&1
*/5 * * * * python ~/pialert/back/pialert.py 1 >~/pialert/log/pialert.1.log 2>&1
#*/15 * * * * python ~/pialert/back/pialert.py 15 >~/pialert/log/pialert.15.log 2>&1
0 3 * * 1 python ~/pialert/back/pialert.py cleanup >~/pialert/log/pialert.1.log 2>&1