Skip to main content

Questions tagged [task]

1 vote
0 answers
288 views

I’m building a fully automated Windows 11 image(iso) for multiple laptops. I customize the OS in Audit Mode, then run Sysprep /generalize and deploy with autounattend/unattend. For the Start menu I ...
mateszkusz's user avatar
0 votes
0 answers
101 views

I'm trying to build LDAP DIT tree core structure with ansible. Here is my test (pb) playbook: pb/ansible.cfg ; playbook config [defaults] inventory = inv roles_path = roles stdout_callback = yaml ...
X bl lJJ H i K's user avatar
0 votes
0 answers
139 views

I deleted a task from the task scheduler a while back on my server but logs are still being created at the old scheduled time indicating the task is still somehow scheduled to run. How can I find what ...
Michael B redeemer216's user avatar
1 vote
2 answers
428 views

I have an Ansible role that manipulates some Zabbix components. This role has this set of tasks to check the Zabbix Agent type (1 or 2) and version. - name: Check if Zabbix Agent 2 is installed ...
markfree's user avatar
  • 143
0 votes
1 answer
186 views

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 ...
Censored4452's user avatar
1 vote
1 answer
866 views

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.sstatic.net/...
questionador's user avatar
0 votes
1 answer
228 views

I'm looking for a good way to alternate a task within the Windows Task Scheduler. One Saturday, run Task A. Then the next Saturday, run Task B. Then repeat. Any suggestions on how to accomplish that ...
Aaron's user avatar
  • 103
-1 votes
1 answer
10k views

I am getting issues on my below task. - name: Deploy incremental changes using rsync command: "sh run" register: data I am trying to print data down below but keeps getting the above issues,...
user2905259's user avatar
1 vote
1 answer
423 views

I am using windows server 2016 and I am facing a problem. We have been making some changes and I am now in need of having a folder that whenever a file(in this case a specific type (.msg)) is placed ...
Alexandre Araújo's user avatar
0 votes
1 answer
709 views

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 ...
ConanTheGerbil's user avatar
0 votes
1 answer
349 views

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 ...
Morten Jørgensen's user avatar
0 votes
1 answer
343 views

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 ...
Ani's user avatar
  • 62
1 vote
1 answer
189 views

I have been using task scheduler for scheduling batch jobs and I have enabled tasks history. However, I could not find any log file in C:\Windows\Tasks. So where could I find the log files for that?
Kennedy Kan's user avatar
33 votes
7 answers
105k views

On the play-level, we have serial: 1 to allow us to run the whole play one host at a time. But I haven't found a simple way to do this on a single task. This is especially relevant, if the task in ...
Elrond's user avatar
  • 628
-1 votes
1 answer
3k views

Is it possible to run (on demand), not schedule, a simple task that has already been scheduled under Windows Task Scheduler, through a web interface? Any suggestions are appreciated. Thank you Info:...
Charlie's user avatar
  • 23
2 votes
1 answer
719 views

Is there a way for non-admins to use the PSScheduledJob module? For example, I tried Register-ScheduledJob without admin privilege, but it returns "Access is Denied" error. We know that we can allow ...
Jeff's user avatar
  • 61
0 votes
1 answer
2k views

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 ...
pinoy_ISF's user avatar
  • 101
1 vote
0 answers
227 views

I've got a domain controller (only one) with Win Srv 2012 and a number of workstations with Win 7. I need to run a task on a DC straight after domain user logon/off/sleep/wake to a workstation. The ...
Przemyslaw Wojda's user avatar
1 vote
1 answer
2k views

I have a XenApp 6.5 farm of around 30 servers running on Server 2008 delivering a published desktop. A fair percentage of our help desk calls are around hung sessions. It's not an excessive amount ...
LowBattery's user avatar
1 vote
3 answers
769 views

Is there a way to capture a list of all of the processes executed on a machine and their command line arguments if any? I know that process explorer will allow you to do this for a currently running ...
Super1337's user avatar
  • 474
0 votes
1 answer
2k views

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 ...
SimonTi's user avatar
4 votes
1 answer
15k views

I need to execute a file on a remote machine without logging into the machine. I created scheduled task for the same. PFB the code snippet scheduled_task = "schtasks /Create /S <> /SC nologon /TN ...
Dipac's user avatar
  • 41
4 votes
2 answers
19k views

I've implemented SCCM on our server and am now running task sequences to migrate from Windows XP to Win7. But we also need to be able to add a new local admin, because disable the default ...
BlueCacti's user avatar
  • 197
0 votes
1 answer
1k views

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=%...
KingBain's user avatar
3 votes
4 answers
21k views

We would like to scheduled a task on Windows Server on all weekdays. At the same time, the task should be disabled on the holidays. Please advise.
user47289's user avatar
0 votes
1 answer
318 views

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, ...
crywalt's user avatar
0 votes
1 answer
647 views

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 ...
Steve Bennett's user avatar
0 votes
1 answer
699 views

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/...
CDTX's user avatar
  • 1
2 votes
2 answers
814 views

Is there any way that I can schedule a bug export from TFS. I have my query all set up and can manually export to excel - ideally I want to be able to run this export every night to a csv file sat on ...
Matt B's user avatar
  • 131
2 votes
5 answers
11k views

Task Scheduler - I have a .cmd file I'm trying to execute on a regular basis through Task Scheduler. I've set the task so that it points to the cmd file. I want the task to execute even when no one ...
Mark Smith's user avatar
2 votes
4 answers
12k views

Overview: I use Windows Task Scheduler to run automated tasks. Occasionally I will see that randomly a task has failed to perform its duties. When I check Task Scheduler to see what has occurred in ...
swagner88's user avatar
  • 456
1 vote
2 answers
2k views

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 ...
esac's user avatar
  • 271
157 votes
9 answers
84k views

I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
Mark's user avatar
  • 2,201
0 votes
2 answers
3k views

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's user avatar
  • 3
1 vote
3 answers
8k views

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,...
Jrud's user avatar
  • 113
2 votes
2 answers
2k views

I have a server 2008 64 bit machine with php5 via fastcgi installed. I want to run a .php script every day at 3 AM. I set up a task and "Last Run Result" says "%1 is not a valid Win32 application" ...
user avatar
0 votes
2 answers
946 views

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 ...
user avatar