scheduled-tasks

Task Scheduler not executing batch (bat) file with MSTest commands

左心房为你撑大大i 提交于 2019-12-13 05:54:24
问题 I have several batch files which set a log file path and start visual studio 2010 ordertests. When I execute a batch file from windows explorer it runs perfectly. The problem is that when I use the Windows Task Scheduler to run a batch file my orderedtest is not executed. Sample Code: ::: ::: This batch kicks off the searchinlineset test set node. ::: SetLogPath.vbs "\\spm08r2dw\ATPData\Webportal Test Results\" %comspec% /c "call "%VS100COMNTOOLS%vsvars32.bat" & mstest /testcontainer:"

look for a database design related manner

流过昼夜 提交于 2019-12-13 04:11:36
问题 I am working for a log analyzer system,which read the log of tomcat and display them by a chart/table in web page. (I know there are some existed log analyzer system,I am recreating the wheel. But this is my job,my boss want it.) Our tomcat log are saved by day. For example: 2011-01-01.txt 2011-01-02.txt ...... The following is my manner for export logs to db and read them: 1 The DB structure I have three tables: 1)log_current:save the logs generated today. 2)log_past:save the logs generated

Automatic turn on in android device

北战南征 提交于 2019-12-13 03:45:35
问题 I want to develop an app whereby one of it functionality is power on the device when it be powered off. I searched in developer documents but I find anything related to it. There is a way to set your device to automatic power on? like a scheduled task? 回答1: There is nothing in the Android SDK itself for turning the device on from a fully-powered-off state. Some device manufacturers may have features for this, and some subset of those might have an API for it. 回答2: This is possible on normal

No permission to write a file from task scheduler?

蹲街弑〆低调 提交于 2019-12-13 03:43:47
问题 I got a batch file that will run a c++ program and output to a file with ">" redirection. This file is to be run by task scheduler. I found out that when the batch file is ran from task scheduler, it claims "access is denied". The batch file runs fine until it reaches that ">" redirection part. (I see that the whole batch can run finely without ">") I have tried running the task scheduler as an administrator as well, but I still got "access is denied". Is there a way around this? 回答1: There

Scheduling in Asp.net.What is best solution?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 03:38:23
问题 I want to Scheduling in Asp.net I have following options to implement this To write SQLServer JOB(I dont want to do this.Dont want to go outside of .Net environment) Second option is I will write windows service and this window service will call asp.net webservice then this webservice calls asp.net method (I also dont need to do this because my hosting provider might not be allow me to install window service) Third option is I call my scheduling method in Application_Start event in global

How does the method scheduledExecutorService.scheduleAtFixedRate() ensures real-time execution?

混江龙づ霸主 提交于 2019-12-13 02:23:41
问题 Because I'm executing a time critical task every second, I compared several methods to find the best way to ensure that my task is really executed in fixed time steps. After calculating the standard derivation of the error for all methods it seems like using the method scheduledExecutorService.scheduleAtFixedRate() leads to the best results, but I don't have a clue why it is so. Does anybody know how that method internally works? How does it for example in comparison to a simple sleep()

variable list of dependencies for openmp 4.5 tasks

∥☆過路亽.° 提交于 2019-12-13 02:13:00
问题 I am writing a fortran code using task-based paradigm. I use my DAG to express the dependencies. Using OpenMP 4.5, I can use the clause depend which takes as input a dependence-type and a list of dependencies. This mechanism works well when you know explicitly the number of dependencies. However, in my case, I would create tasks that are expected to have a list of dependencies which varies from 1 to n elements. Reading the documentation OpenMP-4.5_doc, I have not found any useful mechanism

Powershell scripts manipulating desktop elements don't work with Scheduler

纵饮孤独 提交于 2019-12-13 01:51:33
问题 I have 2 scripts working, when I start them manually. Moving mouse cursor out of Screen: [system.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | out-null [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(1999,100) If there is a chrome browser open with title HUD, put it to kiosk mode: [void] [System.Reflection.Assembly]::LoadWithPartialName("'Microsoft.VisualBasic") [Microsoft.VisualBasic.Interaction]::AppActivate("Hud - Google Chrome") [void]

Disable Spring scheduling when running on jboss

我只是一个虾纸丫 提交于 2019-12-13 01:23:14
问题 We have a Spring 4 webapplication which use @EnableScheduling and @Scheduled . On some of our testservers we don't want scheduling to be active. We have solved this by adding a profile to the configuration that have the @EnableScheduling annotation. When running on jetty on my mac that works fine. When running on jboss (EAP 6.3) scheduling is enabled even if I delete the @EnableScheduling annotation. Can it be something on the jboss server that turns on Spring scheduling? Any other ideas? TIA

Scheduling a task in Java for a specified date

拟墨画扇 提交于 2019-12-13 01:13:19
问题 i am looking forward to learn java. I made this program , so that when the current date matches the specified date, it will execute some code, in this case, it will exit the while loop. I'd like to know if there any other ways, but for now i will stick with this string comparison. For somewhat reasons the If loop isn't working properly, i monitor the current date with System.out.println(date) but when it reaches the desired date (by format HH:MM:SS) to do the action,the strings aren't equal