This improves readability and complies with the GNU Coding Standards by making the behavior of the programs independent of the name used to invoke them. * src/mcron/scripts/cron.scm: New file. * src/mcron/scripts/crontab.scm: Likewise. * src/mcron/scripts/mcron.scm: Likewise. * Makefile.am (dist_mcronmodule_DATA): Remove 'src/mcron/crontab.scm'. (bin_PROGRAMS): Add 'crontab'. (sbin_PROGRAMS): Add 'cron'. (mcron_CFLAGS, mcron_LDADD): Rename to ... (AM_CFLAGS, LDADD): ... these. (cron_SOURCES, cron_CPPFLAGS, cron_DEPENDENCIES) (crontab_SOURCES, crontab_CPPFLAGS, crontab_DEPENDENCIES) (mcron_CPPFLAGS, mcronscriptdir, dist_mcronscript_DATA): New variables. (modules): Redefine it in terms of other '_DATA' variables. * src/mcron/crontab.scm: Remove file. * src/mcron/main.scm (parse-args): New procedure. (command-name, command-type, options): Remove. (show-version): Adapt. (show-help, process-files-in-system-directory, cron-file-descriptors) (main, process-user-file, process-files-in-user-directory): Move procedures in the new files. * src/mcron.c (inner_main): Define the current module at compile time. * TODO: Update. * .gitignore: Likewise.
		
			
				
	
	
		
			54 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
GNU mcron --- TODO                                  -*-text-*-
 | 
						|
 | 
						|
  Copyright (C) 2015, 2016  Mathieu Lirzin
 | 
						|
  Copyright (C) 2003, 2005, 2006, 2014  Dale Mellor
 | 
						|
 | 
						|
  Copying and distribution of this file, with or without modification,
 | 
						|
  are permitted in any medium without royalty provided the copyright
 | 
						|
  notice and this notice are preserved.
 | 
						|
 | 
						|
 | 
						|
 | 
						|
Maybe in the near future...
 | 
						|
 | 
						|
    * Logging.
 | 
						|
 | 
						|
    * Check POSIX compliance (should be okay if Vixie cron was okay).
 | 
						|
 | 
						|
    * Work out how to give each user his own closure (or environment or module
 | 
						|
       or continuation) for his configuration files so that he can't mess the
 | 
						|
       core or other users' files up. Then allow scheme code in the system
 | 
						|
       crontabs.
 | 
						|
              
 | 
						|
    * Provide a test suite using SRFI-64 API.
 | 
						|
      <http://srfi.schemers.org/srfi-64/srfi-64.html>.
 | 
						|
 | 
						|
    * Internationalize Mcron using GNU Gettext and ask the Translation
 | 
						|
      Project to handle the localization.
 | 
						|
 | 
						|
 | 
						|
There are no plans to actually do the following any time soon...
 | 
						|
 | 
						|
    * Develop at and batch modes of operation.
 | 
						|
 | 
						|
    * Make compatibilities with other crons (BSD, SYSV, Solaris, Dillon's, ...)
 | 
						|
 | 
						|
    * Port to BSD, other operating systems.
 | 
						|
 | 
						|
    * Full security audit for Vixie mode.
 | 
						|
 | 
						|
 | 
						|
 | 
						|
May happen if version 2.0 ever materializes...
 | 
						|
 | 
						|
    * UNIX or TCP socket will allow interrogation and control of a running
 | 
						|
       daemon (unrelated to, or maybe a major enhancement of, socket used for
 | 
						|
       communication from crontab process).
 | 
						|
 | 
						|
    * Add anacron functionality (run missed jobs if the daemon is stopped, for
 | 
						|
       example if a personal computer does not run 24 hours a day).
 | 
						|
 | 
						|
    * TCP socket to allow control via HTTP (web browser interface). Or maybe
 | 
						|
       crontab-like CGI personality.
 | 
						|
 | 
						|
    * GTK+/d-bus/Gnome3 interface.
 |