Tag Info

New answers tagged

0

When Excel gets ran from the Task Scheduler, it's always hidden as a process because it's being ran from the service, whereas when you manually run it yourself, it isn't. I previously had similar issues, and the way I resolved it was by creating a batch file instead. I let the task scheduler run the batch file, and then I let the batch file run ...


4

Check the event viewer (win+r -> eventvwr.msc) for related events. I saw that this is a work PC, so it could be pushed out via GOP (as in this question), but unless the IT department is trying to make people more technical or there's been some error, it would be strange for this to be set by them.


0

Following our discussion over at SO I've been trying to use the --exclusive argument to achieve this. My architecture is different to yours (I have 7 processors available to slurm) but here is what I did: #!/bin/sh #SBATCH --ntasks=2 srun -n 2 --exclusive stress -c 1 and then running sbatch test.sh ; sbatch test.sh ; sbatch test.sh ; sbatch test.sh ...


0

Since you started considering 7-zip in the comments of the other answer, here's how I did it: set SOURCE=d:\source\folder_to_back_up set DEST=d:\destination rem # a: Add, -mx: compression level 0-9, -tzip use ZIP format, -ssc: case sensitive, -ssw: add files opened for writing, -r: recursive pushd "%SOURCE%" && 7za a -mx9 -tzip -ssc -ssw -r ...


0

Have a look at runas: http://stackoverflow.com/questions/8249705/how-to-run-an-application-as-run-as-administrator-from-the-command-prompt Make sure that the runas command has the /savecred switch. It'll ask you for credentials once and store them for future use. Place a batch file with your command in your autostart folder.


0

To solve this issue I ended up putting the batch file into the startup folder of the start menu. For some reason it uses the saved credentials when run from here but doesn't when run on startup with the task scheduler. To make sure the VPN connection was up before running the batch file I used timeout 30 to delay execution of the batch file until OpenVPN ...


0

You can implement it like this: The scheduler job program is implemented as infinite - never failing loop. This loop withdraws messages from AQ and processes them. The scheduler job is submitsted only once - from event system even trigger AFTER STARTUP ON DATABASE. It does not use any scheduler chains nor any other advanced scheduler options. Simply the ...


0

cURL is a console application so it will cause a command prompt window to show up, however briefly. What you can do is use Hidden Start to invoke cURL in turn:


0

Essentially you have to create an artificial user input, here was my solution to this problem. http://www.jholu.com/2012/11/18/schedule-mouse-clicks-with-task-scheduler/ This way the monitor wakes up because there is a setting in intel graphics or maybe even other that require user input to wake the screen Hope this helps Cheers


1

Windows native job scheduler is not configured the same way as Unix/Linux cron, You cannot change the scheduling by editing the contents of a batch file. You have limited options in the Task scheduler You could alter that batch file to exit early if the time of day is outside a specific range. An answer in stackoverflow suggests set ...


1

Defrag seems to be a frequent culprit. In Task Scheduler, try navigating to /Task Scheduler Library / Microsoft / Windows / Defrag If you get the error there, delete the file C:\Windows\System32\Tasks\Microsoft\Windows\Defrag\ScheduledDefrag To replace the errant defrag, click Start, enter "Disk Defragmenter" and select it. Click "Configure schedule" ...


3

Simple: do not use cron. Use at. Example: at now + 1 minute ls Controld Job 2 will be executed using /bin/sh For 5 ½ hours you could use 330 minutes.


0

From Microsoft Excel, you could use a second table to keep an easy record of which letter corresponds to each code. This would ideally live on a separate sheet but could be on the same: Code | Value ------------ N | 12 M | 6 P | 6 CS | 6 R | 6 In your original table, your Code column should probably use data validation to force the user to ...


0

mbam.exe /parameter (where parameter is one of the following) /debug: allows you to collect information to send as a bug report. /developer: this command line parameter is explained in the false positives section. /minimized: allows you to start the program minimized. /quickscan: allows you to run a quick scan. /quickscanterminate: allows you to run a ...


0

are you sure it was a task scheduler that did it? do you know which one? there are other ways for it to wake up BIOS might have a wake up setting (before the OS starts, press F2 I think) some devices are allowed to wake it up (keyboard, mouse, network card) the keyboard and mouse have to moved to wake it up, but try tuning off the network card power ...


2

Try this instead: for /f "tokens=1*" %%a in ('schtasks /query /fo list ^| findstr /r "TaskName.*Adobe"') do schtasks /delete /tn "%%b" /f The findstr portion uses regex (regular expressions) to extract only the lines containing the strings "TaskName" and "Adobe" from the output of schtasks. This is then tokenised by for /f (see for /? for more) and the ...



Top 50 recent answers are included