Page 1 of 2 1 2 >
Topic Options
#32487 - 07/04/12 05:59 PM Task Scheduler Windows 7
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
Has anyone had any success getting Task Scheduler to run DataCare on Windows 7? I can only get it to work if I select, "run only if the user is logged on". On XP I was able to disconnect and it would still run, as long as I didn't log off. Do you just leave your workstation open all the time in Windows 7 so that the task will run?
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top
#32488 - 07/04/12 06:35 PM Re: Task Scheduler Windows 7 [Re: SusanTennier]
Bob Wisener Offline
Adagio Conductor

Registered: 03/19/02
Posts: 560
Loc: Vancouver, BC
I was helping a client with a similar problem. In his case, the mapped data drive didn't exist when the app was started. Something to check.

From the help.

C:\Softrak\dcwin\dcwin.exe /uSYS /pSYS /dC:\Softrak\Data /edat /rMYJOB /q

or

\\OurServer\Accounting\Softrak\DataCare\DataCare.exe /uSYS /pSYS /d\\OurServer\Accounting\Data /eDAT /rMYJOB /q

Confirm that you have all of those parameters. Note, the latter doesn't use mapped drives.
_________________________
Bob Wisener
Dakota Software

Top
#32489 - 07/04/12 06:55 PM Re: Task Scheduler Windows 7 [Re: SusanTennier]
Bruce Gardner Online   content
Adagio Wizard

Registered: 06/15/04
Posts: 3611
Loc: Toronto ON, Canada
I once worked around the problem by having the Task Scheduler start a batch file which used DOS commands to map the drive and then started Datacare. But I think the better technique is the one that Bob describes to run Datacare using the full server path, rather than drive letters.
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#32490 - 07/04/12 08:07 PM Re: Task Scheduler Windows 7 [Re: Bruce Gardner]
Bob Wisener Offline
Adagio Conductor

Registered: 03/19/02
Posts: 560
Loc: Vancouver, BC
I agree. A batch file is the way to go. Now that I think of it, the client had mapped drives in ADSPROF.
_________________________
Bob Wisener
Dakota Software

Top
#32491 - 07/05/12 07:07 AM Re: Task Scheduler Windows 7 [Re: Bob Wisener]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11520
Loc: Vancouver, BC Canada
Hi, Susan,

In the Win7 Task Schedules, in the Properties for the Task on the General tab, enable the 'Run only when user is logged on' option instead of the 'Run whether user is logged on or not'.
_________________________
Regards,
Softrak Tech Support

Top
#32492 - 07/05/12 07:23 AM Re: Task Scheduler Windows 7 [Re: Softrak Support]
Bruce Gardner Online   content
Adagio Wizard

Registered: 06/15/04
Posts: 3611
Loc: Toronto ON, Canada
Support:
But isn't that what Susan is trying to solve? She wants to be able to log off the workstation at the end of the day and still have Datacare run overnight.

Bob's most recent post has got me thinking about drive letters vs UNC paths (ie. \\Servername\Sharename). I've always used drive letters. But the documentation for Datacare says that UNC paths can be used as long as they are used everywhere , including ADSPROF files (each dataset has a small ADSPROF file which tells Adagio where to look for system files such as multicurrency data). For 99.5% of Adagio installations, drive letters have been used, meaning that Datacare with the UNC path could only be used after some configuration adjustments.

What are the new standards? Under what circumstances are drive letters still required?
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#32493 - 07/05/12 07:36 AM Re: Task Scheduler Windows 7 [Re: Bruce Gardner]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11520
Loc: Vancouver, BC Canada
Hi, Bruce,

There's something different in Windows 7 that doesn't allow this. For now, this is how it will have to be run, even when UNCs are used everywhere. It's not very different from on XP having the task scheduled on a workstation rather than the server and locking the computer. Sometimes people will also set their screen saver to casue Windows to require a password.
_________________________
Regards,
Softrak Tech Support

Top
#32494 - 07/05/12 07:58 AM Re: Task Scheduler Windows 7 [Re: Softrak Support]
Bruce Gardner Online   content
Adagio Wizard

Registered: 06/15/04
Posts: 3611
Loc: Toronto ON, Canada
Support:
Leaving the computer logged in but locked seems a reasonable solution.

Could you elaborate on the use of drive letters vs UNC paths? Now that the Report Tables Drive is being phased out, does that mean that Adagio can work exclusively with UNC paths, no drive letters required, neither for the applications nor the data?
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#32495 - 07/05/12 09:19 AM Re: Task Scheduler Windows 7 [Re: Bruce Gardner]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11520
Loc: Vancouver, BC Canada
Hi, Bruce,

Generally speaking, mapped drives are still used. For applications having release dates of March 2011 and more recent, if installing from Win7 and UAC is enabled, you need to use the UNC for the install; otherwise, you'd have to set UAC to Never. If you're setting up a scheduled task for DataCare on a server, then you need to use UNC's everywhere, even the ADSPROF. The RTD should be the same drive as the Softrak folder. There may be some browsers where the drive letter is still required.
_________________________
Regards,
Softrak Tech Support

Top
#32497 - 07/05/12 11:54 AM Re: Task Scheduler Windows 7 [Re: Softrak Support]
Bruce Gardner Online   content
Adagio Wizard

Registered: 06/15/04
Posts: 3611
Loc: Toronto ON, Canada
Support:
Thank you. I'll stick with drive letters then. I have noticed that Windows sometimes replaces the drive letter with the UNC path on desktop icons.
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
Page 1 of 2 1 2 >


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 78 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14448 Topics
70593 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
Su M Tu W Th F Sa
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