Re: Can't create scheduled task over ssh as current user

2019-02-19 Thread Bill Stewart
On Tue, Feb 19, 2019 at 12:28 PM John Oxley wrote: > I started off with PowerShell but re-wrote to schtasks to make this post > shorter. Exactly the same thing happens: > > > Register-ScheduledTask -TaskName $taskName -Action $action -Trigger > > $trigger -RunLevel Highest -User foo -Password

Re: Can't create scheduled task over ssh as current user

2019-02-19 Thread John Oxley
From: cygwin-ow...@cygwin.com on behalf of Bill Stewart Sent: 19 February 2019 19:15 To: cygwin@cygwin.com Subject: Re: Can't create scheduled task over ssh as current user On Tue, Feb 19, 2019 at 12:02 PM John Oxley wrote: >> I'm running a Windows

Re: Can't create scheduled task over ssh as current user

2019-02-19 Thread Bill Stewart
On Tue, Feb 19, 2019 at 12:02 PM John Oxley wrote: > I'm running a Windows 10 VM with a fairly recent installation of Cygwin (last > month or so). > > If I ssh into the box as the user "foo", I cannot create a scheduled task for > the user: > > foo@host $ schtasks /create /ru foo /rp

Can't create scheduled task over ssh as current user

2019-02-19 Thread John Oxley
Hello all, I'm running a Windows 10 VM with a fairly recent installation of Cygwin (last month or so). If I ssh into the box as the user "foo", I cannot create a scheduled task for the user: foo@host $ schtasks /create /ru foo /rp fooPassword /sc HOURLY /tn foobar /tr 'echo foo' ERROR: