otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Workflow Configuring Workflow components - including Agents, Milestones, Notifications Auto Data Assignment and Events.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 5th, 2008, 16:16
Junior Member
 
Join Date: Apr 2008
Location: UK
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Pradeepa is on a distinguished road
Send a message via Yahoo to Pradeepa
Post Sql results as email alerts

Hi,

Currently there are a few sql's that are used for daily check on the system.These sql's are currently run manually (approx thrice in a day) and results distributed to concerned ppl.
I would like to automate this by setting up a recuring task to excute them at specific intervals and send out the result via automation agent to the respective contact.

Can some one suggest me how I can draft the results of the sql in an email formate?

PS: I was thinking on the lines of similar to a pickup notification with the sql data !

Thanks,
Pradeepa.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old April 7th, 2008, 05:24
Member
 
Join Date: Nov 2007
Location: Chennai, India
Posts: 57
Thanks: 6
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1
arunk is on a distinguished road
Re: Sql results as email alerts

Pradeepa,

We have the same requirements sometimes back and I can suggest you two ways of doing this.

1. You can create a cron job (time-based scheduling service in your server) and give the email id's of the distribution list, which will automatically execute the script send the results at any specific time. We can mention the time interval of the execution of sql scripts in the cron file.

2. The second one is you can cofigure an schedule report in OTM itself.

Hope this gives you an idea.

Regards
Arun.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old April 8th, 2008, 09:57
Junior Member
 
Join Date: Apr 2008
Location: UK
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Pradeepa is on a distinguished road
Send a message via Yahoo to Pradeepa
Re: Sql results as email alerts

Arun,

Thankyou for the suggestion.
1. Setting up corn job sounds good to me but I am not aware of how to set the corn jobs up on the servers - will have a study how i can go about this method.
If there is any information you can share on this with me, please let me know.

2. Scheduled reports - I did think of this one but have kept this one of the few options.

Thanks,
Pradeepa.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old April 8th, 2008, 10:34
Member
 
Join Date: Nov 2007
Location: Chennai, India
Posts: 57
Thanks: 6
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1
arunk is on a distinguished road
Re: Sql results as email alerts

Pradeepa,

You can search for crontabs and shell scripts in google and there are lots of guidance for this. Cron jobs needs to be scheduled in your app servers and system admins will be aware of this script files (.sh files if it is a UNIX one).

Normally the output of the cron jobs will be of a CSV format and you have to the format the sql query for that.

Kindly revert if your are not clear with the same.

Regards
Arun.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
On Screen Alerts rj5316 Workflow 5 April 4th, 2008 09:38
user defined alerts neelimachenta Workflow 1 November 5th, 2007 09:00
Display Brand Name in Finder Results miks Branding, Screen Sets, XSL/CSS and Translations 0 October 18th, 2007 12:26
Modify the Results screen of contacts sn1405 Branding, Screen Sets, XSL/CSS and Translations 6 August 10th, 2007 13:28
alerts in OTM soujanya Workflow 2 May 22nd, 2007 14:25



All times are GMT. The time now is 12:55.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37