A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: todo.sgml,v 1.28 2004-08-12 09:52:15 thib Exp $ -->
+<!-- $Id: todo.sgml,v 1.29 2004-08-17 12:56:26 thib Exp $ -->
<sect1 id="todo">
<title>Todo</title>
<para>mails from B. Wohler : improve the doc + change (?) the
name of fcrondyn -> fcronc ?? </para>
</listitem>
- <listitem>
- <para>add an option to prevent fcron from running a job if the
- system is running on battery (anacron does it ?)</para>
- </listitem>
</itemizedlist>
</sect2>
<sect2>
<listitem>
<para>Mem footprint reduction : use an/some union(s) in CL struct.</para>
</listitem>
- <listitem>
- <para>implement more commands for fcrondyn, and make it more
- secure and reliable</para>
- </listitem>
<listitem>
<para>add a timezone option instead of the tzdiff (so it would
look like !timezone(europe/paris)) (?)</para>
dependencies ?) Add a way to run a job only if a command
returns true. It would permit, for instance, to run some jobs
on a laptop only if it is on AC power.</para>
+ <para>and depending on the return value of the command, cancel
+ the execution, or wait x seconds before trying again, etc</para>
+ </listitem>
+ <listitem>
+ <para>add an option to prevent fcron from running a job if the
+ system is running on battery (anacron does it ?)
+ (add another queue - when system comes on-line, run the job
+ or move it to serialq. Do the same for lavg+serial job
+ -> when trying to run a job from serialq, test if system is on-line
+ and/or lavg is low, or move it back to another queue)</para>
</listitem>
<listitem>
<para>add a system of data flow</para>
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrondyn.c,v 1.12 2003-12-29 14:11:31 thib Exp $ */
+ /* $Id: fcrondyn.c,v 1.13 2004-08-17 12:52:45 thib Exp $ */
/* fcrondyn : interact dynamically with running fcron process :
* - list jobs, with their status, next time of execution, etc
#include "allow.h"
#include "read_string.h"
-char rcs_info[] = "$Id: fcrondyn.c,v 1.12 2003-12-29 14:11:31 thib Exp $";
+char rcs_info[] = "$Id: fcrondyn.c,v 1.13 2004-08-17 12:52:45 thib Exp $";
void info(void);
void usage(void);
sigpipe_handler(int x)
/* handle broken pipes ... */
{
- fprintf(stderr, "Broken pipe : fcron may have closed the connection\nif it has been "
- "idle for more than %ds, otherwise check if fcron is still running.\n",
+ fprintf(stderr, "Broken pipe : fcron may have closed the connection\nThe connection "
+ "has been idle for more than %ds, or fcron may not be running anymore.\n",
MAX_IDLE_TIME);
fprintf(stderr, "Exiting ...\n");