# #
###############################################################################
+ ### Clean up our environment
+ #
+ delete @ENV{qw(IFS CDPATH ENV BASH_ENV PATH)};
+ $< = $>;
+
require "/opt/pakfire/lib/functions.pl";
my $interactive = 1;
#
if ( $0 =~ /pakfire-update$/ ) {
&Pakfire::message("CRON INFO: Running an update");
- my $random = int(rand(3600));
+ my $random = int(rand(60));
&Pakfire::logger("CRON INFO: Waiting for $random seconds.");
sleep($random);
$ARGV[0] = "update";