2016-09-11 3 views

Antwort

0

Sie können alle Befehle mit Batch-Datei ausführen. Rufen Sie einfach die Batch-Datei vom Taskplaner auf.

0

Unter Linux planen wir die Dinge wie folgt:

[[email protected] ~]$ crontab -l 
### Minutes hours DayOfMonth Month Weekday(0-6 Sunday-Saturday) 
### 
### 
### DAILY ONLINE BACKUP Plan0 
00 20 * * 1-5 /app/ncia/scripts/stop.hyp.sh 2>&1 
30 20 * * 1-5 /app/ncia/scripts/backup_Planning0.sh 2>&1 
00 22 * * 1-5 /app/ncia/scripts/start.hyp.sh 2>&1 
### Automatic Transfer 
00 09 * * 1-5 /app/ncia/scripts/automatic.transfer.FMC_to_R2C.sh >> /app/ncia/log/automatic.transfer.FMC_to_R2C.log 
00 23 * * 0-4 /app/ncia/scripts/automatic.transfer.HRC_to_HR2C.sh >> /app/ncia/log/automatic.transfer.HRC_to_HR2C.log 
30 22 * * 0-4 /app/ncia/scripts/automatic.launch.business.rule.FMC_Admin_PrepareAllData_to_R2C.sh >> /app/ncia/log/automatic.launch.business.rule.FMC_Admin_PrepareAllData_to_R2C.log 
Verwandte Themen