PlanificateurRAZ()
// Paramètres de la tâche planifiée
TâchePlanifiée.Application = "ProViewer"
TâchePlanifiée.RépertoireTravail = "C:\temp"
TâchePlanifiée.Commentaire = "test d`ajout de tache planifiée"
TâchePlanifiée.Utilisateur = "MSHOME\PHILIPPE"
TâchePlanifiée.MotDePasse = "test"
TâchePlanifiée.ArrêtSurActivité = Vrai
TâchePlanifiée.SuppressionAutomatique = Vrai
// Horaire par défaut de la tâche planifiée
HoraireTâchePlanifiée.Type = htQuotidien
HoraireTâchePlanifiée.DateDébut = "20051213"
HoraireTâchePlanifiée.Intervalle = 2
PlanificateurAjouteTâche("Ma tâche planifiée") |