Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auto-tx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vamp
auto-tx
Commits
ae43a1a5
Commit
ae43a1a5
authored
7 years ago
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Rewrap to line length 80.
parent
da415c37
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Updater/README.md
+6
-5
6 additions, 5 deletions
Updater/README.md
with
6 additions
and
5 deletions
Updater/README.md
+
6
−
5
View file @
ae43a1a5
...
...
@@ -52,7 +52,8 @@ done by using the following PowerShell commands:
$TimeSpan
=
New-TimeSpan
-Minutes
1
# configure a JobTrigger for the task using the repetition interval from above, repeating forever
# configure a JobTrigger for the task using the repetition interval from above,
# repeating forever
$JobTrigger
=
New-JobTrigger
`
-Once
`
-At
(
Get-Date
)
.
Date
`
...
...
@@ -60,16 +61,16 @@ $JobTrigger = New-JobTrigger `
-RepeatIndefinitely
# configure the JobOptions for the task (battery options should not be required
on a fixed system,
# but doesn't hurt either)
# configure the JobOptions for the task (battery options should not be required
#
on a fixed system,
but doesn't hurt either)
$JobOptions
=
New-ScheduledJobOption
`
-RunElevated
`
-StartIfOnBattery
`
-ContinueIfGoingOnBattery
# set credentials for running the task (requires permission to start/stop the
service
# and overwriting the configuration and binaries)
# set credentials for running the task (requires permission to start/stop the
#
service
and overwriting the configuration and binaries)
$Cred
=
Get-Credential
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment