diff --git a/crontab b/crontab index 4ce0307..de768d0 100644 --- a/crontab +++ b/crontab @@ -5,4 +5,4 @@ #| | | | day of the week (0-6 with 0=Sunday). #| | | | | commands -0 0 * * * /home/grizzly/irc/pisg/pisg --silent ; mv /home/grizzly/team.html "/home/grizzly/public_html/irc/`date +"%F"`-team.html" ; mv /home/grizzly/meta.html "/home/grizzly/public_html/irc/`date +"%F"`-meta.html" ; rm /home/grizzly/irc/irc_log/irclogs/*.log \ No newline at end of file +0 0 * * * /home/grizzly/irc/irc_log/generate.sh \ No newline at end of file diff --git a/generate.sh b/generate.sh new file mode 100644 index 0000000..43c6f1f --- /dev/null +++ b/generate.sh @@ -0,0 +1,4 @@ +/home/grizzly/irc/pisg/pisg --silent ; +mv /home/grizzly/team.html "/home/grizzly/public_html/irc/`date +"%F"`-team-tt.html" ; +mv /home/grizzly/meta.html "/home/grizzly/public_html/irc/`date +"%F"`-meta-tt.html" ; +# rm /home/grizzly/irc/irc_log/irclogs/*.log ; \ No newline at end of file