LR_CRON.IN(1)

NAME
lr_cron - run the perodical jobs configured in a DlfStore.

SYNOPSIS
lr_cron period store

DESCRIPTION
lr_cron is designed to be called in a crontab(5) entry. period should be "hourly", "daily", "weekly", "monthly" or "yearly". store should be the full path name of the DLF Store.

lire(1) should be used to configure periodical jobs in the store.

To run jobs as scheduled by lire(1), you will need to setup cron jobs. For each schedule you use, you should configure a cron job to be executed according to that period.

Here is a crontab(5) entry that will make sure that all possible schedules are supported in the /home/flacoste/myStore DLF store:

 05  *  *  *  * lr_run lr_cron hourly  /home/flacoste/myStore
 15 01  *  *  * lr_run lr_cron daily   /home/flacoste/myStore
 15 02  *  * 02 lr_run lr_cron weekly  /home/flacoste/myStore
 15 03 01  *  * lr_run lr_cron monthly /home/flacoste/myStore
 15 04 01  01 * lr_run lr_cron yearly  /home/flacoste/myStore

.

SEE ALSO
lire(1)

AUTHOR
Francis J. Lacoste <flacoste@logreport.org>

VERSION
$Id: lr_cron.in,v 1.37 2006/07/23 13:16:32 vanbaal Exp $

COPYRIGHT
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org

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 the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.