Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


reynoldsmg
2013-04-01T20:35:06Z
Hello,
We are trying to convert some Windows Scheduled tasks to visual cron jobs. These jobs write to a database and one of the values they write to the database is the username of the identity that is performing the insert. These are vb.net applications that use the system.environment.username function to find the username of the process. But when running these processes via visualcron, this vb function returns the username of the service running visualcron (system), instead of the username of the task identity.

I have both the 'local user' and 'load profile' options selected, but it still doesn't find the username of the task, it just finds 'System'.

Thanks for any help you may provide!
-Matt
Sponsor
Forum information
Support
2013-04-02T20:03:21Z
Hi Matt,

which Task type are you having problems with?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
reynoldsmg
2013-04-02T20:11:22Z
These are Process/Execute tasks.
Support
2013-04-02T20:59:10Z
Could you post a screenshot of your settings in that Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
reynoldsmg
2013-04-03T18:59:17Z
Sorry! It looks like I hadn't checked both the local login and load profile options. The tasks work correctly with those enabled.
Users browsing this topic
Scroll to Top