Questions tagged [task]

33 questions
1
vote
2 answers

Have a process which runs nightly to automatically zip old files?

I have a file share, and I want a process which enumerates files on that share and automatically creates a 7z self-extracting exe of files over 1 month old. On a different share, I want to create a 7z self-extracting exe of directories that are over…
esac
  • 261
  • 2
  • 8
  • 12
1
vote
3 answers

TFS: What does Triage mean?

So I'm installing TFS for our developers to use, and I'm supposed to be the expert on this TFS thing since I'm the one that suggested we get it, but I don't know the answers to some of their questions, Maybe someone on here can tell me this one: 1)…
Jrud
  • 113
  • 1
  • 6
1
vote
1 answer

Windows 2012 Server - Task not running with same setting as others which run perfectly

I have a Task created on Windows 2012 Server, that is set to run when I login, and it does just that, when I login it starts running, and if I want to I can run it manually: https://i.stack.imgur.com/5s5Jk.jpg I created another task, with the same…
0
votes
1 answer

Powershell script won't restart on failure

I'm running windows 10 pro. I have a powershell script that starts every day at midnight and runs all day. It's controlled by the Task Scheduler. The script itself works fine and in the event of an error exits with code 1 The task definition is…
0
votes
1 answer

GPO - Schedule Backup from users Desktop

Im Using Robocopy to copy files from my users Desktop to their Personally folder on the Server.. im using robocopy C:\Users\%username%\Desktop W:\skrivebord /xo /fft /E which works perfectly, when its running from the desktop or via local Scheduled…
0
votes
1 answer

atd creates too many empty task files and hogs cpu

There are empty task files in the atd task directory (/var/spool/cron/atspool), causing atd to hog CPU and fill up syslog too quickly! (When atd encounters an empty file it massively spams syslog with messages such as the following (200 per second…
Ani
  • 32
  • 2
  • 13
0
votes
1 answer

Windows Task Scheduler executing old triggers even after recreating the task

I had this task working perfectly until I changed the schedule. After I changed the scheduled time 5 minutes earlier, I noticed that in the history, it still triggers the old schedule. I tried deleting the task and recreating it even without a…
pinoy_ISF
  • 101
  • 2
0
votes
1 answer

Scheduled Task fails to stop

I have a Scheduled Task on a Windows (64-bit) 2008 R12 (SP1) server. It’s a housekeeping task and I was expecting its first run to take some time catching up on backlog of actions , so set what I thought were appropriate “Stop the task if Runs…
SimonTi
  • 1
  • 1
0
votes
1 answer

MDT task not executing cmd properly

I have done a little experimenting with this task and I have the majority of it working. Basically the Task runs this command line cmd.exe /c set y1=%date:~-4,4%&set m1=%date:~-10,2%&set d1=%date:~-7,2%&set nti=%time: =0%&set h1=%nti:~0,2%&set…
KingBain
  • 31
  • 3
0
votes
1 answer

IIS vs Remote Desktop for Remote Task Management

I'm researching the best way to set up something like this: I have a client who wants to be able to kick off a data import/processing/export routine remotely -- from home, from his smartphone, whatever. He basically needs a couple of buttons and…
0
votes
1 answer

Continue running a task with terminal disconnected?

Say I'm running a task on a remote (Ubuntu) server which last hours, but I need to disconnect my shell client now. Foolishly, I didn't use screen or think of starting the task with nohup. Is there a way to perhaps pause the task, then start it up in…
0
votes
1 answer

Windows XP Scheduler - Error Adding Another Task (data area passed to a system call is too small)

I'm getting an error "data area passed to a system call is too small" when trying to add a task to the Windows Scheduler. We currently have about 20 tasks in it. Googling the issue, we found to stop/start the task service, wait, and some kind of…
CDTX
  • 1
0
votes
2 answers

Win Server 2008 Task Scheduler to run PHP file

I am trying to figure out how to open and close IE to run a PHP page on a daily run.Not sure what to do once I get to the "Start a Program" section of the task wizard to achieve this.
case
  • 3
  • 1
  • 2
0
votes
2 answers

Scheduled tasks fail to start unless I'm logged in to the server

Tasks need to open a CMD window and pass net use commands, then do a DIR command, pipping the output to a file on the server. Log in as either me (Sysadmin) or with one of the system accounts and task will only run if I'm physically logged into the…
Chuck
0
votes
1 answer

Why cant i kill the task remotly through my .bat Script? [solved]

I want to write a .bat Script, where i want to kill a task remotly from my pc on my windows server 2022. When i try the command "taskkill /u Administrator /p mypassword /s 192.168.178.226 /im Cluster_Manager.exe /f /t" it says: Error: The process…