Jump to content

Logo

- - - - -

[Solved] How to setup "Command Notification" in Alert Rules


7 replies to this topic

#1 rmo

    Newbie

  • Members
  • 13 posts
  • Gender:Male
  • Location:Canada
  • Interests:Unix<br />Mfg/Pro<br />QAD<br />Progress<br />OpenEdge

Posted 23 February 2010 - 10:17 PM

I was able to succesfully setup the Email Notification in the Job Alert Rules screen. But the Command Notification feature just doesn't seem to work.
I entered a Unix script in Command field. The Unix script is located inside the same directory where the script for the job is.
What am I doing wrong?
Thank you!
Réal

Attached Files



#2 men

    Hero Member

  • Root Admin
  • PipPipPipPip
  • 4,389 posts
  • Gender:Male
  • Location:Europe

Posted 24 February 2010 - 10:41 AM

Hi,

What is the version of UniJob and of UniViewer MS and Console?

Michel

#3 rmo

    Newbie

  • Members
  • 13 posts
  • Gender:Male
  • Location:Canada
  • Interests:Unix<br />Mfg/Pro<br />QAD<br />Progress<br />OpenEdge

Posted 24 February 2010 - 03:41 PM

Here are the versions:
Unijob = 1.2.2
Univiewer = 2.03
MS = 2.0.2

Thanks.

#4 kkm

    Newbie

  • Members
  • 1 posts

Posted 26 February 2010 - 01:28 PM

May be you could try to remove the " " for the variable :)

#5 FDO

    Newbie

  • Members
  • 7 posts

Posted 26 February 2010 - 05:28 PM

I agree.
The command should be :


/home/morinre/mon-alerte.sh !UNI:DATE! !UNI:JOB!

#6 rmo

    Newbie

  • Members
  • 13 posts
  • Gender:Male
  • Location:Canada
  • Interests:Unix<br />Mfg/Pro<br />QAD<br />Progress<br />OpenEdge

Posted 05 March 2010 - 04:24 AM

Thanks for your suggestions. I have tried everything I can think of. nothing works. We must have a bad setting.
I opened a ticket with Orsyp.
I will let you know how this gets resolved.

#7 men

    Hero Member

  • Root Admin
  • PipPipPipPip
  • 4,389 posts
  • Gender:Male
  • Location:Europe

Posted 05 March 2010 - 10:24 AM

Hello,

Does the job alert appear in the list of events that generated a notification and does it display the notification that was sent?

So we understand if the issue is in the alert settings or is met when sending the email?

Michel

#8 men

    Hero Member

  • Root Admin
  • PipPipPipPip
  • 4,389 posts
  • Gender:Male
  • Location:Europe

Posted 07 May 2010 - 04:05 PM

Hi,

Problem was solved with Tech Support (upgrade + environment file update + stop/restart).

Michel





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users