[MKDoc-commit] [1.6] make the crontab more readable
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Thu Dec 2 15:43:49 GMT 2004
Log Message:
-----------
[1.6] make the crontab more readable
Tags:
----
mkdoc-1-6
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.21.2.18
retrieving revision 1.21.2.19
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.21.2.18 -r1.21.2.19
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -252,7 +252,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 $config_site_dir/mksetenv.sh && 020..newsletter.pl day");
+$c->add_raw->value("\n$rand_60 8 * * * source $config_site_dir/mksetenv.sh && 020..newsletter.pl day");
$c->add_raw->value("$rand_60 8 * * mon source $config_site_dir/mksetenv.sh && 020..newsletter.pl week");
$c->add_raw->value("$rand_60 8 1 * * source $config_site_dir/mksetenv.sh && 020..newsletter.pl month");
$c->write;
More information about the MKDoc-commit
mailing list