X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fdo-reset-randomsongs.pl;fp=html%2Fdo-reset-randomsongs.pl;h=e470b73e34dc37e44d4a6d0eb62ad472f93ee796;hp=0000000000000000000000000000000000000000;hb=fc972e108b71d452f7134af16cdbce6a0be3b73f;hpb=c7283b6a8ab12956329719e4b73f4cbe9450a681 diff --git a/html/do-reset-randomsongs.pl b/html/do-reset-randomsongs.pl new file mode 100755 index 0000000..e470b73 --- /dev/null +++ b/html/do-reset-randomsongs.pl @@ -0,0 +1,14 @@ +#! /usr/bin/perl + +use ccbs; +use strict; +use warnings; + +my $dbh = ccbs::db_connect(); +my $cgi = new CGI; + +$dbh->do('DELETE FROM randomsongsused'); + +ccbs::print_see_other('randomsongs.pl'); + +$dbh->disconnect;