]> git.sesse.net Git - ccbs/blob - html/do-reset-randomsongs.pl
Use await_notification instead of sleep(), gives us much better response time.
[ccbs] / html / do-reset-randomsongs.pl
1 #! /usr/bin/perl
2
3 use ccbs;
4 use strict;
5 use warnings;
6
7 my $dbh = ccbs::db_connect();
8 my $cgi = new CGI;
9
10 $dbh->do('DELETE FROM randomsongsused');
11
12 ccbs::print_see_other('randomsongs.pl');
13
14 $dbh->disconnect;