/*
* 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: 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 $ */
/* *********************************************************** */
/*
* 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: 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"
/*
* 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);
{
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"
);
/* 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);
if ( save <= now ) {
save = now + SAVE;
/* save all files */
- save_file(NULL, NULL);
+ save_file(NULL);
}
stime = check_lavg(save);
/*
* 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.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__
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 */