2016-09-11 3 views

Répondre

0

Vous pouvez exécuter toutes les commandes à l'aide d'un fichier batch. Appelez simplement le fichier de commandes depuis le planificateur de tâches.

0

Sur Linux nous programmons les choses comme suit:

[[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