#32487 - 07/04/12 05:59 PM
Task Scheduler Windows 7
|
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]
|
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.
|
Top
|
|
|
|
#32489 - 07/04/12 06:55 PM
Re: Task Scheduler Windows 7
[Re: SusanTennier]
|
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.
|
Top
|
|
|
|
#32490 - 07/04/12 08:07 PM
Re: Task Scheduler Windows 7
[Re: Bruce Gardner]
|
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.
|
Top
|
|
|
|
#32492 - 07/05/12 07:23 AM
Re: Task Scheduler Windows 7
[Re: Softrak Support]
|
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?
|
Top
|
|
|
|
#32494 - 07/05/12 07:58 AM
Re: Task Scheduler Windows 7
[Re: Softrak Support]
|
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?
|
Top
|
|
|
|
#32495 - 07/05/12 09:19 AM
Re: Task Scheduler Windows 7
[Re: Bruce Gardner]
|
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]
|
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.
|
Top
|
|
|
|
|
0 registered (),
78
Guests and
0
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
1865 Members
5 Forums
14448 Topics
70593 Posts
Max Online: 432 @ 01/20/25 10:17 PM
|
|
|
|
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
|
|
|
|
|
|