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

running under scheduled task #30

Closed
mcconnellt150 opened this issue Feb 25, 2019 · 3 comments
Closed

running under scheduled task #30

mcconnellt150 opened this issue Feb 25, 2019 · 3 comments
Assignees
Labels

Comments

@mcconnellt150
Copy link

Hi All,

when I try to run this as a scheduled task I get errors like the below, is there anyway I can correct this?

Info SCM Backup 1.2.0.870cd29
Info http://scm-backup.org/
Error Could not find file 'C:\Windows\system32\NLog.config'.
Error Backup failed!
Error The application will close in 5 seconds!

@christianspecht
Copy link
Owner

NLog.config is the configuration file for SCM Backup's logger, which should be in SCM Backup's main directory. This should be the case when you unzipped the download as-is.

I just tried to run SCM Backup via scheduled task on my machine (Windows 8.1).
When I just enter the path to the batch file in the "Edit Action" screen, I get errors as well (different message, just one line, disappears so quickly that I can't read it).

To get it to work, I had to fill "Start in (optional)" as well:
Edit Action

Does that work for you?

@mcconnellt150
Copy link
Author

This works perfectly, thanks for your help

christianspecht added a commit to christianspecht/scm-backup-docs that referenced this issue Feb 28, 2019
@christianspecht
Copy link
Owner

Good to hear!

Anyway, I added this information to the docs. Maybe it helps others too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants