cron taks function skeletons v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 19 Apr 2019 23:26:08 +0200
branchv_0
changeset 6308978165cc3
parent 5 5e5d4c937739
child 7 ca71e981bdb4
cron taks function skeletons
vcs-backup.sh
     1.1 --- a/vcs-backup.sh	Fri Apr 19 23:25:19 2019 +0200
     1.2 +++ b/vcs-backup.sh	Fri Apr 19 23:26:08 2019 +0200
     1.3 @@ -154,6 +154,20 @@
     1.4  	done
     1.5  }
     1.6  
     1.7 +# Environment: server
     1.8 +# User: $VCS_BACKUP_USER
     1.9 +# should be called from cron (usually every day)
    1.10 +vcs_backup_public_serverPullCronTask() {
    1.11 +	return;
    1.12 +}
    1.13 +
    1.14 +# Environment: server
    1.15 +# User: $VCS_BACKUP_USER
    1.16 +# should be called from cron (usually every day) after Pull (see above)
    1.17 +vcs_backup_public_serverSnapshotCronTask() {
    1.18 +	return;
    1.19 +}
    1.20 +
    1.21  # --- Single entry-point: --------------------------------------------------------------------------
    1.22  
    1.23  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";