Search found 1 match

by masam
Tue Feb 15, 2011 2:46 am
Forum: ZoneMinder Previous Versions
Topic: Resetting Event Number??
Replies: 14
Views: 17907

possible Daily Honor Points...i mean....clean up script....

so, what if we put the code into a shell script and run it as a crontab job, say, at midnight?!?! (begin code) !#/bin/bash/ echo "TRUNCATE TABLE Events;" > /home/USERNAME/zmsql.sql /etc/init.d/zoneminder stop mysql -uROOT -pPASSWORD use zm << zmsql.sql /etc/init.d/zoneminder start (end code) then ...