Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xScheduledTask failed #45

Closed
twarnick opened this issue Aug 23, 2016 · 2 comments
Closed

xScheduledTask failed #45

twarnick opened this issue Aug 23, 2016 · 2 comments
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.

Comments

@twarnick
Copy link

the scheduledTask created successfully, but the verify failed.

here my scheduleTask:

xScheduledTask Task_ddd_sync {
ActionExecutable = "C:\Program Files (x86)\Robocopy\ddd_sync.cmd"
RepeatInterval = 60
ScheduleType = "Minutes"
TaskName = "ddd-sync"
DependsOn = '[xUser]TachographUser'
Ensure = "Present"
ExecuteAsCredential = $TachographUserCred
StartTime = "03:00"
}

@twarnick
Copy link
Author

The Error Message in Event log
Source:Microsoft-Windows-Desired State Configuration/Operational:

Job {80BBADD1-6974-11E6-8C2A-000D3A2034C0} :
MIResult: 1
Error Message: Cannot create a file when that file already exists.

Message ID: HRESULT 0x800700b7,Register-ScheduledTask
Error Category: 20
Error Code: 20
Error Type: MI

@kwirkykat kwirkykat added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels Aug 24, 2016
@PlagueHO
Copy link
Member

Closed by #62

PlagueHO added a commit that referenced this issue Jul 17, 2017
xScheduledTask: Incorrect TaskPath handling (Fixes #45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

4 participants