logged

How to schedule a task wether the user is logged on or not in PowerShell?

假如想象 提交于 2019-11-30 08:04:00
问题 I have a problem regarding how to make a scheduled task to run whether the user is logged on or not. It must be done in powershell. What i have done is: $WINDIR/system32/schtasks.exe /create /tn TaskName /sc daily /st 15:05:00 /tr "C:\cygwin\opt\IBM\tpchc\bin\tools\TheFileToRun.bat" But can i provide an extra argument making this task run no matter if the user is logged on or off? If it cant be done in Powershell is it then possible to do it in another script language? thx :) 回答1: You'll need

How to schedule a task wether the user is logged on or not in PowerShell?

廉价感情. 提交于 2019-11-29 05:37:08
I have a problem regarding how to make a scheduled task to run whether the user is logged on or not. It must be done in powershell. What i have done is: $WINDIR/system32/schtasks.exe /create /tn TaskName /sc daily /st 15:05:00 /tr "C:\cygwin\opt\IBM\tpchc\bin\tools\TheFileToRun.bat" But can i provide an extra argument making this task run no matter if the user is logged on or off? If it cant be done in Powershell is it then possible to do it in another script language? thx :) You'll need to specify a user (like /RU system ), but it should be the default whether to run logged in or not. You can

Facebook Like Box plugin doesn't show up for logged out users; only for logged in users

浪尽此生 提交于 2019-11-28 23:17:04
I'm trying to add the Facebook Like Box social plugin in my website(I took the code from the official documentation ). It works fine but only if I'm logged into Facebook; if not it just shows Facebook Public Profile Login to see this content I don't really understand the problem because in other websites I've built everything worked just fine. I'm thinking that this might be a page setting. This is my <iframe> code for the Like Box: <iframe src="http://www.facebook.com/plugins/likebox.php?id=1331391XXXXXXXX&width=298&connections=10&stream=false&header=true" scrolling="no" frameborder="0"

Facebook Like Box plugin doesn't show up for logged out users; only for logged in users

不想你离开。 提交于 2019-11-27 14:38:12
问题 I'm trying to add the Facebook Like Box social plugin in my website(I took the code from the official documentation). It works fine but only if I'm logged into Facebook; if not it just shows Facebook Public Profile Login to see this content I don't really understand the problem because in other websites I've built everything worked just fine. I'm thinking that this might be a page setting. This is my <iframe> code for the Like Box: <iframe src="http://www.facebook.com/plugins/likebox.php?id