Questions tagged [task]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
3k views

The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout

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 ...
1
vote
1answer
60 views

Rename Files in Folders

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 ...
0
votes
1answer
141 views

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 ...
0
votes
1answer
147 views

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 ...
0
votes
1answer
45 views

atd creates too many empty task files and hogs cpu

There are too many empty task file in the atd task directory (/var/spool/cron/atspool), causing atd to hog CPU and fill up syslog too soon! Removing the empty files and restarting atd will bring the ...
1
vote
1answer
98 views

Task Schduler Log issues

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?
17
votes
6answers
32k views

Ansible: How to run one Task Host by Host?

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 ...
-1
votes
1answer
2k views

Run Windows Task Scheduler through Web Interface [closed]

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:...
2
votes
1answer
385 views

Powershell: PSScheduledJob for non-admin

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 ...
0
votes
1answer
831 views

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 ...
1
vote
0answers
141 views

Win Srv 2012 task scheduler - trigger based on domain workstation logon/logoff/sleep/wake

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 ...
1
vote
1answer
2k views

Should XenApp users have access to task manager?

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 ...
1
vote
3answers
175 views

Capture a list of processes ran

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 ...
0
votes
1answer
2k views

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 ...
2
votes
1answer
10k views

To create a scheduled task which can execute without user logged on --using vbscript

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 ...
4
votes
2answers
16k views

SCCM - Where to put the create user step

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 ...
0
votes
1answer
964 views

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=%...
3
votes
4answers
15k views

how to schedule a task on all weekdays and then disable only on holidays

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.
0
votes
1answer
166 views

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, ...
0
votes
1answer
353 views

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 ...
0
votes
1answer
655 views

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/...
1
vote
2answers
733 views

Schedule a bug export from TFS

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 ...
2
votes
5answers
11k views

Server 2008 Task Scheduler and a CMD file

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 ...
2
votes
3answers
8k views

Why would Windows Task Scheduler spawn multiple instances of the same task that run into each other?

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 ...
1
vote
2answers
1k views

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 ...
130
votes
6answers
56k views

How do I rename a task in Task Scheduled on Windows Server 2008 R2

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 ...
0
votes
2answers
3k views

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.
0
votes
3answers
7k views

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,...
2
votes
2answers
2k views

can server 2008's task scheduler run a php file?

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" ...
0
votes
2answers
920 views

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