]> granicus.if.org Git - fcron/log
fcron
23 years ago*** empty log message ***
thib [Mon, 20 Aug 2001 10:54:45 +0000 (10:54 +0000)]
*** empty log message ***

23 years agoprint the exact pid on syslog (not the pid of fcron process attached to the job)
thib [Mon, 20 Aug 2001 10:53:22 +0000 (10:53 +0000)]
print the exact pid on syslog (not the pid of fcron process attached to the job)
mail if job exit anormally, even if there is no output (unless mail(no))

23 years agoadded a #ifdef SENDMAIL to be able to run without sendmail
thib [Fri, 17 Aug 2001 19:50:08 +0000 (19:50 +0000)]
added a #ifdef SENDMAIL to be able to run without sendmail

23 years agoadded quotes in "test"s
thib [Fri, 17 Aug 2001 19:49:38 +0000 (19:49 +0000)]
added quotes in "test"s

23 years agobug corrected : specify explicitly the directory where fcron is in sysVinit-launcher
thib [Fri, 17 Aug 2001 19:48:41 +0000 (19:48 +0000)]
bug corrected : specify explicitly the directory where fcron is in sysVinit-launcher

23 years agobug corrected : we check for the existence of getopt_long(), not only getopt.h,as...
thib [Fri, 17 Aug 2001 19:48:18 +0000 (19:48 +0000)]
bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long()

23 years agobug fixed : endless loop for midmonthly line executed after the 15th of the month
thib [Fri, 17 Aug 2001 19:47:46 +0000 (19:47 +0000)]
bug fixed : endless loop for midmonthly line executed after the 15th of the month

23 years agocreated a new function add_line_to_file() to make read_file() more readable.
thib [Fri, 17 Aug 2001 19:44:51 +0000 (19:44 +0000)]
created a new function add_line_to_file() to make read_file() more readable.

23 years agomemory optimization : struct CL ordered to limit offsets
thib [Fri, 17 Aug 2001 19:43:53 +0000 (19:43 +0000)]
memory optimization : struct CL ordered to limit offsets

23 years agobug corrected : we check for the existence of getopt_long(), not only getopt.h,as...
thib [Fri, 17 Aug 2001 19:42:14 +0000 (19:42 +0000)]
bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long()
added handle for SIGUSR2 : print current schedule, and switch on/off debug mode

23 years agobug corrected : we check for the existence of getopt_long(), not only getopt.h,as...
thib [Fri, 17 Aug 2001 19:41:20 +0000 (19:41 +0000)]
bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long()

23 years agoupdated error message (we use euids, not uids)
thib [Fri, 17 Aug 2001 19:40:46 +0000 (19:40 +0000)]
updated error message (we use euids, not uids)

23 years ago*** empty log message ***
thib [Tue, 10 Jul 2001 14:50:18 +0000 (14:50 +0000)]
*** empty log message ***

23 years agoadded support for "stop"
thib [Tue, 10 Jul 2001 14:50:09 +0000 (14:50 +0000)]
added support for "stop"

23 years agobug corrected : user instead of filename
thib [Tue, 10 Jul 2001 14:49:52 +0000 (14:49 +0000)]
bug corrected : user instead of filename

23 years agobug (??) fixed in read_file() (for freebsd)
thib [Tue, 10 Jul 2001 14:22:15 +0000 (14:22 +0000)]
bug (??) fixed in read_file() (for freebsd)

23 years agoremoved debug code
thib [Tue, 10 Jul 2001 12:03:38 +0000 (12:03 +0000)]
removed debug code

23 years agoadded /usr/ucb to PATH (Solaris compatibility mode)
thib [Tue, 10 Jul 2001 10:54:23 +0000 (10:54 +0000)]
added /usr/ucb to PATH (Solaris compatibility mode)
use script/has_usrgrp.pl

23 years agoInitial revision
thib [Tue, 10 Jul 2001 10:52:59 +0000 (10:52 +0000)]
Initial revision

23 years agoadded /usr/ucb to PATH (Solaris compatibility mode)
thib [Tue, 10 Jul 2001 10:52:27 +0000 (10:52 +0000)]
added /usr/ucb to PATH (Solaris compatibility mode)

23 years agoremoved warnings (openbsd) adding some "(long int)", etc
thib [Mon, 9 Jul 2001 21:07:28 +0000 (21:07 +0000)]
removed warnings (openbsd) adding some "(long int)", etc

23 years agoadded support for nsswitch.conf in installation scripts
thib [Mon, 9 Jul 2001 13:07:58 +0000 (13:07 +0000)]
added support for nsswitch.conf in installation scripts

23 years agoremoved access() call (not necessary)
thib [Mon, 9 Jul 2001 11:50:30 +0000 (11:50 +0000)]
removed access() call (not necessary)
use Skip_blanks macro

23 years agocommented out some debug stuff
thib [Mon, 9 Jul 2001 11:50:13 +0000 (11:50 +0000)]
commented out some debug stuff

23 years ago*** empty log message ***
thib [Mon, 9 Jul 2001 11:49:11 +0000 (11:49 +0000)]
*** empty log message ***

23 years agoget rid of the setre*()
thib [Sun, 8 Jul 2001 12:40:43 +0000 (12:40 +0000)]
get rid of the setre*()

23 years agoremoved setreuid (no more needed thanks to fcronsighup)
thib [Sat, 7 Jul 2001 17:52:02 +0000 (17:52 +0000)]
removed setreuid (no more needed thanks to fcronsighup)

23 years ago*** empty log message ***
thib [Sat, 7 Jul 2001 17:44:57 +0000 (17:44 +0000)]
*** empty log message ***

23 years agoupdated make uninstall
thib [Sat, 7 Jul 2001 17:44:45 +0000 (17:44 +0000)]
updated make uninstall

23 years agochanged version message
thib [Sat, 7 Jul 2001 17:33:19 +0000 (17:33 +0000)]
changed version message

23 years agoadded [S]BINDIREX
thib [Sat, 7 Jul 2001 17:33:03 +0000 (17:33 +0000)]
added [S]BINDIREX

23 years agoadded constants BINDIREX and SBINDIREX (needed by fcronsighup)
thib [Sat, 7 Jul 2001 17:30:58 +0000 (17:30 +0000)]
added constants BINDIREX and SBINDIREX (needed by fcronsighup)

23 years agoadded fcronsighup
thib [Sat, 7 Jul 2001 17:30:32 +0000 (17:30 +0000)]
added fcronsighup

23 years agoInitial revision
thib [Sat, 7 Jul 2001 17:29:51 +0000 (17:29 +0000)]
Initial revision

23 years agobug corrected : in create_spooldir : detect if file exist and is not a dir
thib [Wed, 4 Jul 2001 17:45:39 +0000 (17:45 +0000)]
bug corrected : in create_spooldir : detect if file exist and is not a dir
cleaner exit on error in create_spooldir

23 years agoadded option -n
thib [Wed, 4 Jul 2001 17:29:48 +0000 (17:29 +0000)]
added option -n
updated help message : options -n and -c

23 years agoupdated help message : option -c
thib [Wed, 4 Jul 2001 17:29:30 +0000 (17:29 +0000)]
updated help message : option -c

23 years ago\eOA
thib [Wed, 4 Jul 2001 16:16:15 +0000 (16:16 +0000)]
\eOA
we now use Set() macro

23 years agowe now use Set() macro
thib [Wed, 4 Jul 2001 16:15:36 +0000 (16:15 +0000)]
we now use Set() macro

23 years agochanged order of the options of fcron.conf
thib [Sun, 24 Jun 2001 13:23:40 +0000 (13:23 +0000)]
changed order of the options of fcron.conf

23 years agoadded fcron.conf
thib [Sun, 24 Jun 2001 13:23:35 +0000 (13:23 +0000)]
added fcron.conf

23 years agochanged order of the assignement
thib [Sun, 24 Jun 2001 13:23:08 +0000 (13:23 +0000)]
changed order of the assignement

23 years agoadded debug_opt var
thib [Fri, 22 Jun 2001 21:09:58 +0000 (21:09 +0000)]
added debug_opt var

23 years agoadded fcron.conf support>
thib [Fri, 22 Jun 2001 21:09:15 +0000 (21:09 +0000)]
added fcron.conf support>

23 years agoadded Set macro
thib [Fri, 22 Jun 2001 21:08:43 +0000 (21:08 +0000)]
added Set macro
Skip_blanks moved from fcrontab.h to global.h

23 years agoadded the possibility to put a user name before the shell command (=runas)
thib [Fri, 22 Jun 2001 21:08:18 +0000 (21:08 +0000)]
added the possibility to put a user name before the shell command (=runas)

23 years agoSkip_blanks moved from fcrontab.h to global.h
thib [Fri, 22 Jun 2001 21:07:16 +0000 (21:07 +0000)]
Skip_blanks moved from fcrontab.h to global.h

23 years agoadded fcron.conf support
thib [Fri, 22 Jun 2001 21:06:05 +0000 (21:06 +0000)]
added fcron.conf support

23 years agoInitial revision
thib [Fri, 22 Jun 2001 21:05:52 +0000 (21:05 +0000)]
Initial revision

23 years ago*** empty log message ***
thib [Tue, 12 Jun 2001 06:41:06 +0000 (06:41 +0000)]
*** empty log message ***

23 years agoadded an (int) to avoid a warning
thib [Tue, 12 Jun 2001 06:40:33 +0000 (06:40 +0000)]
added an (int) to avoid a warning

23 years agobug corrected about kstat
thib [Wed, 6 Jun 2001 15:26:52 +0000 (15:26 +0000)]
bug corrected about kstat

23 years ago*** empty log message ***
thib [Tue, 5 Jun 2001 10:19:45 +0000 (10:19 +0000)]
*** empty log message ***

23 years agobug corrected : a "all" in allow file with no deny file was considered
thib [Tue, 5 Jun 2001 10:19:10 +0000 (10:19 +0000)]
bug corrected : a "all" in allow file with no deny file was considered
as an non allowed user

23 years agoadded support of kstat for getloadavg under Solaris
thib [Tue, 5 Jun 2001 10:18:16 +0000 (10:18 +0000)]
added support of kstat for getloadavg under Solaris

23 years agoadded a (int) to avoid a warning message
thib [Tue, 5 Jun 2001 10:17:56 +0000 (10:17 +0000)]
added a (int) to avoid a warning message

23 years agoadded support of kstat for getloadavg under Solaris
thib [Tue, 5 Jun 2001 10:17:01 +0000 (10:17 +0000)]
added support of kstat for getloadavg under Solaris
some more tests, test for -x and not -f when it is better (shell, ...)

23 years agobug corrected : boot-install should now work with install.sh even if user
thib [Sun, 3 Jun 2001 10:59:35 +0000 (10:59 +0000)]
bug corrected : boot-install should now work with install.sh even if user
compiles from a dir different from source dir.

23 years agobug corrected : do not cd before using $(INSTALL), as it may be ./install.sh (and...
thib [Sun, 3 Jun 2001 10:57:40 +0000 (10:57 +0000)]
bug corrected : do not cd before using $(INSTALL), as it may be ./install.sh (and install.sh is not in doc dir)

23 years agoadded (int) for is[alnum|digit|...]( (int) *ptr) to avoid warnings
thib [Sun, 3 Jun 2001 10:56:18 +0000 (10:56 +0000)]
added (int) for is[alnum|digit|...]( (int) *ptr) to avoid warnings

23 years agoadded strings.h (required for bzero() under Solaris)
thib [Sun, 3 Jun 2001 10:55:53 +0000 (10:55 +0000)]
added strings.h (required for bzero() under Solaris)

23 years agowe use waitpid() instead of wait4() (which seems not to be defined under Solaris)
thib [Sun, 3 Jun 2001 10:54:22 +0000 (10:54 +0000)]
we use waitpid() instead of wait4() (which seems not to be defined under Solaris)
support of lockf() for systems (Solaris, etc) without flock()

23 years agobug corrected : if a job was running, it couldn't be added to a serior a lavg queue
thib [Fri, 1 Jun 2001 11:34:58 +0000 (11:34 +0000)]
bug corrected : if a job was running, it couldn't be added to a serior a lavg queue

23 years agoadded fcron's option -m
thib [Tue, 29 May 2001 19:27:55 +0000 (19:27 +0000)]
added fcron's option -m

23 years agoadded fcron's option -m
thib [Tue, 29 May 2001 19:10:10 +0000 (19:10 +0000)]
added fcron's option -m

23 years agocode clean in read_file() : we now use macros to shorten the code
thib [Mon, 28 May 2001 18:48:54 +0000 (18:48 +0000)]
code clean in read_file() : we now use macros to shorten the code

23 years agoadded support of termios.h and lockf() for Solaris and SysV systems
thib [Mon, 28 May 2001 18:47:30 +0000 (18:47 +0000)]
added support of termios.h and lockf() for Solaris and SysV systems

23 years ago*** empty log message ***
thib [Thu, 24 May 2001 20:07:42 +0000 (20:07 +0000)]
*** empty log message ***

23 years agoadded option tzdiff
thib [Thu, 24 May 2001 19:57:10 +0000 (19:57 +0000)]
added option tzdiff

23 years agouse $prefix/share/{man|doc} as default (instead of $prefix/{man|doc}
thib [Thu, 24 May 2001 19:56:13 +0000 (19:56 +0000)]
use $prefix/share/{man|doc} as default (instead of $prefix/{man|doc}

23 years ago"user" can now be used instead of "-u user" : more intuitive.
thib [Thu, 24 May 2001 19:54:48 +0000 (19:54 +0000)]
"user" can now be used instead of "-u user" : more intuitive.
security fix : sym link attack against "fcrontab -"

23 years agoadded global var tmp_path (used by temp_file())
thib [Thu, 17 May 2001 00:53:02 +0000 (00:53 +0000)]
added global var tmp_path (used by temp_file())

23 years ago*** empty log message ***
thib [Thu, 17 May 2001 00:52:55 +0000 (00:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Thu, 17 May 2001 00:52:43 +0000 (00:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:27:28 +0000 (01:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:22:28 +0000 (01:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:19:49 +0000 (01:19 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:17:38 +0000 (01:17 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:17:36 +0000 (01:17 +0000)]
*** empty log message ***

23 years agotemp_file has moved from job.c to subs.c (now used by fcrontab)
thib [Tue, 15 May 2001 00:50:24 +0000 (00:50 +0000)]
temp_file has moved from job.c to subs.c (now used by fcrontab)
some modifications to be used by fcrontab (possibility to know the filename and not to unlink it)

23 years agoconstant options have moved to corresponding .h file
thib [Tue, 15 May 2001 00:49:11 +0000 (00:49 +0000)]
constant options have moved to corresponding .h file

23 years agobug fix : run autoconf and configure before updatedoc to ensure the version is update...
thib [Tue, 15 May 2001 00:46:22 +0000 (00:46 +0000)]
bug fix : run autoconf and configure before updatedoc to ensure the version is updated correctly

23 years agobefore loading a header file, check if it has already been loaded
thib [Tue, 15 May 2001 00:46:11 +0000 (00:46 +0000)]
before loading a header file, check if it has already been loaded

23 years agoinclude in each .c file the corresponding .h file
thib [Tue, 15 May 2001 00:46:00 +0000 (00:46 +0000)]
include in each .c file the corresponding .h file

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 00:44:51 +0000 (00:44 +0000)]
*** empty log message ***

23 years agosecurity bug fix : use temp_file() to avoid symlink attacks
thib [Tue, 15 May 2001 00:44:21 +0000 (00:44 +0000)]
security bug fix : use temp_file() to avoid symlink attacks

23 years agoinclude in each .c file the corresponding .h file
thib [Tue, 15 May 2001 00:42:48 +0000 (00:42 +0000)]
include in each .c file the corresponding .h file

23 years agobefore loading a header file, check if it has already been loaded
thib [Tue, 15 May 2001 00:42:05 +0000 (00:42 +0000)]
before loading a header file, check if it has already been loaded

23 years agotemp_file has moved from job.c to subs.c (now used by fcrontab)
thib [Tue, 15 May 2001 00:37:54 +0000 (00:37 +0000)]
temp_file has moved from job.c to subs.c (now used by fcrontab)

23 years agofix a little error in the comments
thib [Mon, 7 May 2001 01:08:12 +0000 (01:08 +0000)]
fix a little error in the comments

23 years agoconvert also new fcrontab files
thib [Sat, 5 May 2001 19:09:27 +0000 (19:09 +0000)]
convert also new fcrontab files

23 years agochanged name : update_file() is now convert_file()
thib [Sat, 5 May 2001 19:08:51 +0000 (19:08 +0000)]
changed name : update_file() is now convert_file()
added a small explain message

23 years agogpg signing is now done in another makefile
thib [Sat, 5 May 2001 19:08:20 +0000 (19:08 +0000)]
gpg signing is now done in another makefile

23 years ago*** empty log message ***
thib [Mon, 30 Apr 2001 03:02:28 +0000 (03:02 +0000)]
*** empty log message ***

23 years agoadded gpg signing support
thib [Mon, 30 Apr 2001 03:02:03 +0000 (03:02 +0000)]
added gpg signing support

23 years agosupport of the new binary format (no more need to reinstall all the fcrontabs on...
thib [Sun, 29 Apr 2001 22:23:44 +0000 (22:23 +0000)]
support of the new binary format (no more need to reinstall all the fcrontabs on upgrade, but use fcrontab-convert once per fcrontab)

23 years agobetter management of the compilation (no more need for a different instruction for...
thib [Sun, 29 Apr 2001 22:21:31 +0000 (22:21 +0000)]
better management of the compilation (no more need for a different instruction for each object)
added convert-fcrontab

23 years agoInitial revision
thib [Sun, 29 Apr 2001 22:21:09 +0000 (22:21 +0000)]
Initial revision

23 years agoremove unwanted files before anything else
thib [Sun, 29 Apr 2001 22:16:11 +0000 (22:16 +0000)]
remove unwanted files before anything else
better management of memory on error (some fields used not to be free-ed)

23 years agowe now use a header file per c source file
thib [Sun, 29 Apr 2001 22:15:38 +0000 (22:15 +0000)]
we now use a header file per c source file