Line 87: |
Line 87: |
| Finally set up the cronjobs:<br> | | Finally set up the cronjobs:<br> |
| <code># affa --make-cronjobs</code> | | <code># affa --make-cronjobs</code> |
| + | |
| + | |
| | | |
| ==== Job configuration properties ==== | | ==== Job configuration properties ==== |
Line 166: |
Line 168: |
| | yes ''or'' no || set to no, if the rsync versionon the source does not support this option (like rsync on SME6) | | | yes ''or'' no || set to no, if the rsync versionon the source does not support this option (like rsync on SME6) |
| |} | | |} |
| + | |
| + | ==== Default configuration properties ==== |
| + | All properties can be set as defaults in the DefaultAffaConfig record. This is useful, when you set up many similar jobs.<br> |
| + | Example: You want set the property 'localNice' to 19 for all jobs. The run<br> |
| + | <code># db affa setprop DefaultAffaConfig localNice 19</code><br> |
| + | and don't set this property for the jobs.<br> |
| + | Poperties set in the job record overides the defaults.<br> |
| + | |
| + | The special property 'sendStatus' is only applicable to the DefaultAffaConfig record. It controls the status report sent by mail and can be set to the values none, daily, weekly or monthly. To setup a weekly status report run:<br> |
| + | <code># db affa setprop DefaultAffaConfig sendStatus weekly</code><br> |
| + | then setup the cronjob:<br> |
| + | <code># affa --make-cronjobs</code> |
| + | |
| + | |
| + | ==== Global disable ==== |
| + | All jobs can be disabled with setting the AffaGlobalDisable record type to 'yes'.<br> |
| + | <code># db affa set AffaGlobalDisable yes</code><br> |
| + | <code># affa --make-cronjobs</code> |
| + | |
| + | to re-enable run:<br> |
| + | <code># db affa set AffaGlobalDisable no</code><br> |
| + | <code># affa --make-cronjobs</code> |
| + | |
| + | |
| | | |
| === Usage and command line options === | | === Usage and command line options === |