######################################################################### # # # Fichier: /u2/fturi/unix/week.cmd # # # # Contenu: Execution de commandes toutes les semaines # #_______________________________________________________________________# # Date : 19/07/92 # # # # Auteur: Francois TURI (fturi) # # # ######################################################################### echo "Job hebdomadaire Week 19/07 b, le dimanche a 23 heures" set home="/u2/fturi" #programmation de la prochaine serie echo "source /u2/fturi/unix/week.cmd" | at 23:00 Sun next week #echo "source /u2/fturi/unix/week.cmd" | at 23:00 Sun #programmation des backups echo "source /u2/fturi/unix/backup1.cmd" | at 22:00 Mon echo "source /u2/fturi/unix/backup2.cmd" | at 22:00 Tue echo "source /u2/fturi/unix/backup3.cmd" | at 22:00 Wed echo "source /u2/fturi/unix/backup1.cmd" | at 22:00 Thu echo "source /u2/fturi/unix/backup2.cmd" | at 22:00 Fri echo "source /u2/fturi/unix/backup3.cmd" | at 22:00 Sat #programmation des rnmails echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Mon echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Tue echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Wed echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Thu echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Fri echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Sat echo "source /u2/fturi/unix/rnmail.cmd" | at 01:20 Sun next week #emploi du temps #echo "xmessage -message 'Cours Astro PH 145 '" | at 11:25 Mon #echo "xmessage -message 'Cours Astro PH 145 '" | at 11:25 Thu #echo "xmessage -message 'Cours Astro PH 145 '" | at 11:25 Fri #echo "xmessage -message 'Cours IA MC 4058 '" | at 12:55 Mon #echo "xmessage -message 'Cours IA MC 4058 '" | at 12:55 Wed #echo "xmessage -message 'Cours DATA BASE MC 4042 '" | at 12:55 Tue #echo "xmessage -message 'Cours DATA BASE MC 4042 '" | at 12:55 Thu #hard-copy hebdomadaire alias print 'pr -l66 \!* |lpr -J"\!*" ' #alias imp "setenv PRINTER lp" #alias las "setenv PRINTER lp2up" setenv PRINTER lp2up print /u2/fturi/ia/se.ll /u2/fturi/ia/theorem.ll /u2/fturi/ia/readme print /u2/fturi/notes/use-*.txt /u2/fturi/unix/autoexec.bat /u2/fturi/unix/*awk setenv PRINTER lp print /u2/fturi/ia/*.ll /u2/fturi/ia/*.lsp /u2/fturi/ia/readme* print /u2/fturi/unix/config.sys /u2/fturi/unix/*cmd print /u2/fturi/.twmrc /u2/fturi/.Xdefaults #sauvegarde hebdomadaire cd /u2/fturi/unix/backup del -f file.zip del -f cache.zip cp -p /u2/fturi/notes/use-*.txt /u2/fturi/unix/backup cp -p /u2/fturi/unix/autoexec.bat /u2/fturi/unix/backup cp -p /u2/fturi/unix/config.sys /u2/fturi/unix/backup cp -p /u2/fturi/unix/*awk /u2/fturi/unix/backup cp -p /u2/fturi/unix/*cmd /u2/fturi/unix/backup cp -p /u2/fturi/ia/*.ll /u2/fturi/unix/backup cp -p /u2/fturi/ia/*.lsp /u2/fturi/unix/backup cp -p /u2/fturi/ia/readme* /u2/fturi/unix/backup cp -p /u2/fturi/.twmrc /u2/fturi/unix/backup cp -p /u2/fturi/.Xdefaults /u2/fturi/unix/backup cp -p /u2/fturi/.regle /u2/fturi/unix/backup cp -p /u2/fturi/.sunview /u2/fturi/unix/backup cp -p /u2/fturi/.xsession /u2/fturi/unix/backup cp -p /u2/fturi/lettre/.entete /u2/fturi/unix/backup cp -p /u2/fturi/entete.cmd /u2/fturi/unix/backup cp -p /u2/fturi/doc/* /u2/fturi/unix/backup cp -p /u2/fturi/rn/.entete /u2/fturi/unix/backup zip -m file * -x rn.awk; zip -m cache .???*; chmod a-w *zip sleep 60 echo "Fin Job hebdomadaire Week" #fin