kde-extraapps/kdeplasma-addons/dataengines/kdecommits/scripts/run_load_commits.pl
2015-01-15 17:07:43 +00:00

15 lines
No EOL
500 B
Raku
Executable file

#!/usr/bin/perl
# Finding today (Mocha) date which is yesterday's KDE server date ...
my ($year, $month, $day) = (localtime(time))[5,4,3];
$month++;
$year += 1900;
$date = sprintf ("%04d-%02d-%02d", $year, $month, $day);
# Running from my computer
print "Running /home/sandros/tmp/load_commits.pl $date\n";
exec "/home/sandros/tmp/load_commits.pl $date";
# Running from Mocha Host
#print "Running /home/sandros/scripts/load_commits.pl $date\n";
#exec "/home/sandros/scripts/load_commits.pl $date";