Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Accessing data in console application run as scheduled task
Payal Nair
Jan 23 2018 3:51 PM
141
Reply
Hi,
My requirement is to send a mail whenever the status of a set of employees change from "Active ->Inactive" / "Inactive->Active" .
I have implemented as a console application which is configured in the windows task scheduler to run every 5 mins. This app calls the web service, checks the status and sends mail. But I need the previous execution employee list in order to check if any change in status has occurred or not with the currently retrieved status. I believe static variables won't be of any use as the application is run during each 5 mints. Please advice.
Thanks,
Divya
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
When to use serialization in .net??
Boolean value ....