Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After you define triggers for your task, you can define actions to be performed when the task runs. 

To add an action, in the Actions section of the Add Task wizard, click Add. SQL Enterprise Job Manager opens the Add Action dialog window. 

What type of actions can you set for your task?

There are three types of actions you can set for your task: Start a programSend an e-mail, and Display a message. These options are available in the Begin the task drop-down list.

Each type of action contains specific settings. The next sections explain in detail the settings for these actions.

Start a program

When you select to start a program as the action for your task, you have to specify a program or script to execute.

In the Program/script field, type the name of the program or script to execute.

Additionally, you can define the following optional parameters:

  • Add arguments - if your program or script takes command line arguments, you can type them in this field.
  • Start in - you can specify the working directory for the command line that executes the program or script. Type the path to the program or script file. 

Send an e-mail

You can select to send an e-mail when the task runs. If you select this action, specify the following settings:

  • From - type the e-mail address from where the e-mail will be sent.
  • To - type the email address to where the e-mail will be sent.
  • Subjects - type the subject of your e-mail.
  • Text - type the body of your message.
  • Attachment - type files paths to be attached in your email.
  • SMTP server - specify the SMTP server to use to send the e-mail.

Display a message

Use this option to show a message on the desktop when the task runs. You can specify the following settings:

  • Title - type the title for the message box.
  • Message - type the content body of your message. 

What other options are available in the Actions section?

After you create your actions, you can also use any of the following options:

  • Edit -select one of created actions to edit/change its settings.
  • Delete  -  use this option to remove actions.



Scroll PDF Exporter Ignore
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse