Exemple #1
0
        private void button16_Click(object sender, EventArgs e)
        {
            string cron = "photos";

            Parametres.RunCommand(cron);
            Parametres.DerniereExecution(cron);
        }
Exemple #2
0
 public async Task Execute(IJobExecutionContext context)
 {
     if ("1" == ((string)Parametres.key.GetValue("active")))
     {
         string NameCron = "prix";
         Parametres.RunCommand(NameCron);
         Parametres.DerniereExecution(NameCron);
     }
 }
Exemple #3
0
 private void button24_Click(object sender, EventArgs e)
 {
     foreach (Control c in groupBox3.Controls)
     {
         if (c is CheckBox)
         {
             CheckBox cb = (CheckBox)c;
             if (cb.Checked)
             {
                 if (cb.Name != "checkBox11")
                 {
                     Parametres.RunCommand(cb.Name);
                     Parametres.DerniereExecution(cb.Name);
                 }
             }
         }
     }
 }