Browse Source

* added pkg_bcton.postinstall, registering mandatory backup job at 3 AM

git-svn-id: svn+ssh://svn.opensde.net/home/users/karasz/x5/tardiba/trunk@62 471cc25b-571d-0410-8e29-1f4f9b506cef
master
Nagy Karoly Gabriel 17 years ago
parent
commit
6d40394c08
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      pkg_bcron.postinstall

+ 16
- 0
pkg_bcron.postinstall

@ -0,0 +1,16 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/tardiba/pkg_bcron.postinstall
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# 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; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
echo "00 3 * * * /opt/postgresql/bin/pg_backup.sh bva" >> /var/spool/cron/crontabs/root
bcrontab /var/spool/cron/crontabs/root

Loading…
Cancel
Save