man lr_cron (Commandes) - run the perodical jobs configured in a DlfStore.
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
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: lr_cron.in,v 1.34 2004/09/01 12:23:10 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 or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.