]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Fri, 12 Jan 2001 21:43:25 +0000 (21:43 +0000)
committerthib <thib>
Fri, 12 Jan 2001 21:43:25 +0000 (21:43 +0000)
config.h.in
database.c
fcron.c
fcron.h

index 64c5cd5e412c07709a69133788e7d85426abf59f..79436b1021e99e6300a8b30b5f6181c797d63f9f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * FCRON - periodic command scheduler 
  *
- *  Copyright 2000 Thibault Godouet <fcron@free.fr>
+ *  Copyright 2000-2001 Thibault Godouet <fcron@free.fr>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: config.h.in,v 1.24 2000-12-04 20:18:58 thib Exp $ */
+ /* $Id: config.h.in,v 1.25 2001-01-12 21:44:35 thib Exp $ */
 
 
 /* *********************************************************** */
index b36d7530d4cf177a6014df3b3dfae530c80cb59c..0c24129354794851eb674b8aa57cdf0baa8acf74 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * FCRON - periodic command scheduler 
  *
- *  Copyright 2000 Thibault Godouet <fcron@free.fr>
+ *  Copyright 2000-2001 Thibault Godouet <fcron@free.fr>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: database.c,v 1.42 2000-12-30 12:55:38 thib Exp $ */
+ /* $Id: database.c,v 1.43 2001-01-12 21:44:45 thib Exp $ */
 
 #include "fcron.h"
 
diff --git a/fcron.c b/fcron.c
index 556085e53d738345418634d1dba64fc7d2445300..8a05c066fff3cefff1cd298c8157d3c071328413 100644 (file)
--- a/fcron.c
+++ b/fcron.c
@@ -1,7 +1,7 @@
 /*
  * FCRON - periodic command scheduler 
  *
- *  Copyright 2000 Thibault Godouet <fcron@free.fr>
+ *  Copyright 2000-2001 Thibault Godouet <fcron@free.fr>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: fcron.c,v 1.37 2001-01-04 15:53:04 thib Exp $ */
+ /* $Id: fcron.c,v 1.38 2001-01-12 21:43:25 thib Exp $ */
 
 #include "fcron.h"
 
-char rcs_info[] = "$Id: fcron.c,v 1.37 2001-01-04 15:53:04 thib Exp $";
+char rcs_info[] = "$Id: fcron.c,v 1.38 2001-01-12 21:43:25 thib Exp $";
 
 void main_loop(void);
 void check_signal(void);
@@ -95,7 +95,7 @@ info(void)
 {
     fprintf(stderr,
            "fcron " VERSION_QUOTED " - periodic command scheduler\n"
-           "Copyright 2000 Thibault Godouet <fcron@free.fr>\n"
+           "Copyright 2000-2001 Thibault Godouet <fcron@free.fr>\n"
            "This program is free software distributed WITHOUT ANY WARRANTY.\n"
             "See the GNU General Public License for more details.\n"
        );
@@ -133,13 +133,13 @@ xexit(int exit_value)
     /* we save all files now and after having waiting for all
      * job being executed because we might get a SIGKILL
      * if we don't exit quickly */
-    save_file(NULL, NULL);
+    save_file(NULL);
     
     f = file_base;
     while ( f != NULL ) {
        if ( f->cf_running > 0 ) {
            wait_all( &f->cf_running );
-           save_file(f, NULL);
+           save_file(f);
        }
        delete_file(f->cf_user);    
 
@@ -553,7 +553,7 @@ main_loop()
        if ( save <= now ) {
            save = now + SAVE;
            /* save all files */
-           save_file(NULL, NULL);
+           save_file(NULL);
        }
 
        stime = check_lavg(save);
diff --git a/fcron.h b/fcron.h
index 0b60563edbc7fc3feda5dcef3cd940c2ad347452..b0938afe63fec469db3cb4cf6dfdfa449b10dfd9 100644 (file)
--- a/fcron.h
+++ b/fcron.h
@@ -1,7 +1,7 @@
 /*
  * FCRON - periodic command scheduler 
  *
- *  Copyright 2000 Thibault Godouet <fcron@free.fr>
+ *  Copyright 2000-2001 Thibault Godouet <fcron@free.fr>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: fcron.h,v 1.14 2000-11-16 17:58:50 thib Exp $ */
+ /* $Id: fcron.h,v 1.15 2001-01-12 21:43:33 thib Exp $ */
 
 #ifndef __FCRONH__
 #define __FCRONH__
@@ -121,7 +121,7 @@ extern void run_serial_job(void);
 extern void reload_all(const char *dir_name);
 extern void synchronize_dir(const char *dir_name);
 extern void delete_file(const char *user_name);
-extern void save_file(CF *file_name, char *path);
+extern void save_file(CF *file_name);
 /* end of conf.c */
 
 /* job.c */