hai semuanya .. saya mencoba melakukan tugas terjadwal untuk mengirim pemberitahuan setiap 10 menit di pusat kendali HFSQL. Prosedur yang disimpan telah diuji dan berfungsi. Tidak ada kesalahan juga terjadi selama pengujian. Tetapi ketika saya menjalankan tugas terjadwal ini di HFSQL, ia bahkan tidak dapat mengirim satu pemberitahuan pun. Apakah ada seseorang yang bisa membantu saya? prosedur tersimpan seperti ini [windev] JIKA TIDAK HFileExist (sm_paramedic) MAKA JIKA TIDAK HDeclareExternal (". \ Sm_paramedic.fic", "paramedic") MAKA HASIL HErrorInfo () AKHIR AKHIR HDeclareExternal (". \ Sm_paramedic.fic", "paramedic") JIKA ErrorOccurred = True MAKA HASIL (HErrorInfo ()) AKHIR JIKA TIDAK HFileExist (NotificationDoctor) LALU JIKA TIDAK HDeclareExternal (". \ NotificationDoctor.FIC", "NotifDoctor") MAKA HASIL HErrorInfo () AKHIR AKHIR HDeclareExternal (". \ NotificationDoctor.FIC", "NotifDoctor") JIKA ErrorOccurred = True MAKA // Error saat mendeklarasikan file, menampilkan error HASIL (HErrorInfo ()) AKHIR HReadSeek (sm_paramedic, sm_paramedicID, 178) ExpDate adalah string = DateToString (sm_paramedic.sm_paramedicSTRExpDate, "DD / MM / YYYY") NotificationDoctor.sm_paramedicID = sm_paramedic.sm_paramedicID NotificationDoctor.Subject = "STR Kedaluwarsa dalam 1 bulan" NotificationDoctor.Description = "STR Expiration on" + ExpDate + ". Notifikasi ini hanya untuk memperingatkan Anda agar memperbarui lisensi Anda!" NotificationDoctor.DateCreated = Hari Ini () NotificationDoctor.TimeCreated = Sekarang () HAdd (NotificationDoctor) [/ windev]
Bonjour, tu es sur un forum Français, tu pourrais faire l'effort d'au moins traduire ta demande si tu veux qu'on t'aide.
Salut à tous. J'essaye de faire une tâche planifiée pour envoyer une notification toutes les 10 minutes dans le centre de contrôle HFSQL. Procédure testée et fonctionnelle. Aucune erreur n'a été jugée survenue pendant le test. Mais lorsque j'exécute cette tâche planifiée sur HFSQL, il ne peut même pas envoyer une seule notification. Y a-t-il quelqu'un qui peut m'aider? [windev] IF NOT HFileExist(sm_paramedic) THEN IF NOT HDeclareExternal(".\sm_paramedic.fic", "paramedic") THEN RESULT HErrorInfo() END END HDeclareExternal(".\sm_paramedic.fic", "paramedic") IF ErrorOccurred = True THEN RESULT(HErrorInfo()) END IF NOT HFileExist(NotificationDoctor) THEN IF NOT HDeclareExternal(".\NotificationDoctor.FIC", "NotifDoctor") THEN RESULT HErrorInfo() END END HDeclareExternal(".\NotificationDoctor.FIC", "NotifDoctor") IF ErrorOccurred = True THEN // Error while declaring the file, display the error RESULT(HErrorInfo()) END HReadSeek(sm_paramedic,sm_paramedicID,178) ExpDate is string = DateToString(sm_paramedic.sm_paramedicSTRExpDate, "DD/MM/YYYY") NotificationDoctor.sm_paramedicID = sm_paramedic.sm_paramedicID NotificationDoctor.Subject = "STR Expiry in 1 months" NotificationDoctor.Description = "STR Expiration on " + ExpDate + ". This notification just to warn you to renew your license!" NotificationDoctor.DateCreated = Today() NotificationDoctor.TimeCreated = Now() HAdd(NotificationDoctor) [/windev]