Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

How to create a Auto start Project to send emails weekly

Updated: 15 Feb 2012 | 7 comments
Everton Silva's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I need to create a project to send emails weekly (every tuesday) with process information.

 

I trust that need a Auto Start Project to make this, but my project send the message for each minute and I need that messege will be sended only one time by week.

Can someone help me?

Someone have a sample how to make this.

Comments

reecardo's picture
12
Jul
2011
0 Votes 0
Login to vote

Use a Configurable Auto Start

Use a Configurable Auto Start component. In the embedded model, drag out a Day of Week Rule. Hook up all but Tuesday to an End component where the StartWorkflow flag is set to false. Hook up the Tuesday path to an end component where the StartWorkflow flag is set to true.

When deployed, have this workflow be scheduled to be run once daily. It will "fall out" of being run every day except Tuesday.

Hope this helps.

mlowe's picture
12
Jul
2011
1 Vote +1
Login to vote

How to create a Auto start Project to send emails weekly

Another way to do this is to simply edit the schedule it runs on.  To do this, go to the base component in the tree view of the project then go to the Publishing tab.  Click the elipsis to edit the schedule.

 

Next remove the Every Day Patern and select DayOfWeekPatern.

Now go to the Day Pattern tab and select the days you want it to run.

Now go to the Times tab and add a new TimeOfDayPattern.

Save and publish.  It should now only run once a week at the time and day you specified.

Rob Moore's picture
12
Jul
2011
1 Vote +1
Login to vote

If you are using Autostart, Just make sure

Just make sure you have the "Start until Autostart does not run" UNCHECKED, otherwise it will run every minute when the Check Timeouts and Escalations runs.

Also, if you use a monitoring project, I would not make it a web service. Instead you should make it into a Windows Service. This way it is not dependent on IIS in any way. You can set the schedule to anything you want, and you can also use a named service account if you need to access any shared or network resource.

 

rob

Everton Silva's picture
14
Jul
2011
0 Votes 0
Login to vote

I will test

Thank you guys...

 

I need to use this resource, i will go any tests,

 

Thank you again..

 

Regards

 

Y

Jimbaland's picture
15
Jul
2011
0 Votes 0
Login to vote

Runs once on schedule, but thats it...

Hey mlowe,

I configured an autostart project the way you did in your example. It ran right on time the first scheduled time. I then changed the schedule and republished and havent gotten it to work since. i've completely deleted the virtual directory and republished it, and changed the app pool, but it still doesnt run. But it will run if I browse to myservice.asmx and select invoke.

 

Have you or anyone else come across this before?

matzebru's picture
15
Jul
2011
1 Vote +1
Login to vote

Make sure to restart the

Make sure to restart the LogicBase 2006 Server Extensions service after doing a schedule change and/or re-publish.

Also, you can change the schedule locally on the server without doing an edit of the project and re-publishing it by using the Task Tray Tool (Programs | Altiris | Workflow Designer | Tools | Task Tray Tool). Right-click on the Task Tray Tool when it is running and choose 'Servers', hover over the server hosting the project and then the project name itself and then select 'Edit Schedule'.

- Bruce

 *** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***

Jimbaland's picture
15
Jul
2011
0 Votes 0
Login to vote

That was it. Thanks Matzebru

That was it. Thanks Matzebru