[MKDoc-commit] [1.8] make the crontab more readable

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Thu Dec 2 15:43:20 GMT 2004


Log Message:
-----------
[1.8] make the crontab more readable

Modified Files:
--------------
    mkd/tools:
        install-details-gt.pl

-------------- next part --------------
Index: install-details-gt.pl
===================================================================
RCS file: /var/spool/cvs/mkd/tools/install-details-gt.pl,v
retrieving revision 1.40
retrieving revision 1.41
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.40 -r1.41
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -514,7 +514,7 @@
     require GPanel::Crontab;
     my $c = GPanel::Crontab->new(user => $user_name);
     my $rand_60 = int (rand (60));
-    $c->add_raw->value("$rand_60 8 * * *   source $site_dir/mksetenv.sh && 020..newsletter.pl day");
+    $c->add_raw->value("\n$rand_60 8 * * *   source $site_dir/mksetenv.sh && 020..newsletter.pl day");
     $c->add_raw->value("$rand_60 8 * * mon source $site_dir/mksetenv.sh && 020..newsletter.pl week");
     $c->add_raw->value("$rand_60 8 1 * *   source $site_dir/mksetenv.sh && 020..newsletter.pl month");
     $c->write;


More information about the MKDoc-commit mailing list