How to find service or task which are schedule every 20 or 40 second ?

  • Thread starter Thread starter alex.buisson
  • Start date Start date
A

alex.buisson

Hi,

I currently develop a Windows service which must perform video/audio
proccessing in realtime (with directshow and a specific board).

All work fine, but sometimes it's seem that my task is not schedule so
my processing time of 1 frame is too high and as a consequence, a
delay is introduce.

When i track my processing, i see that this increase come periodicly
every 20 or 40 second.
So, i search a mean to find which process/task/service could be
scheduled with this periodicity.

If you have idea to find it (tools, or a key to search in the register
base), it would be very useful.

Alex
 
I'm not sure exactly what you have set up. But here's how to reach the
Scheduled Tasks folder. Start> Run... Type (or copy) this into the "Run...
dialog box as it is shown here:

%SystemRoot%\explorer.exe
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30
309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

click on OK button. This gets Scheduled Tasks folder with contents.

Malv
 
Hi Malv,

This is a little shorter way to open the Scheduled Tasks folder from the Run
command.

Start | Run | Type: tasks | Click OK

Also try the following.

explorer
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

or

explorer
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

or

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

or

file:///::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

or

explorer ::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

{20D04FE0-3AEA-1069-A2D8-08002B30309D} is My Computer
{21EC2020-3AEA-1069-A2DD-08002B30309D} is Control Panel
{D6277990-4C6A-11CF-8D87-00AA0060F5BF} is Scheduled Tasks

The commands with file translate better, no spaces so they do not wrap as
bad.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
That's what ya get when in a hurry to answer. Not finding the folder
location real fast, I remembered the shortcut I had. What I suggested was
from the Target line in the shortcut; I tried it before I posted it. Never
fails; always a shorter way. Duly noted.

Malv
 
Great thanks,
the fastest way in not the essential,
but I will keep all your way as shortcut,

yet thanks at you, i hope found in this a solution to my problem
 
[[Tasks can be created and hidden by using the application program interface
(API). The View Hidden Tasks feature allows administrators to view all tasks
on a computer, including hidden tasks.]]

Open Scheduled Tasks.
On the Advanced menu, click View Hidden Tasks.


Troubleshooting Scheduled Tasks from XP HELP...
If a scheduled task does not run when you expect it to, right-click the
task, and then click Properties. On the Task tab, verify that the Enabled
check box is selected. On the Schedule tab, verify that the schedule is set
correctly.

If a task program does not run correctly, you might need to add command-line
options to the path of the program. For more information about a particular
program and its command-line options, try one of the following:

* If available, view Help for the program.
* At a command prompt, type the following (where program is the name of the
task program you are trying to run): program /?

You can also check the Status column in the Scheduled Tasks window. The
following table describes the status types.

Status Description
--------------------------------------------------
Blank The task is not running, or it ran and was successful.
Running The task is currently being run.
Missed One or more attempts to run this task was missed.
Could not start The most recent attempt to start the task
failed.

For more information about the status of a scheduled task, you can check the
SchedLgU.txt log file. This log file for Scheduled Tasks is stored in the
Windows folder, where it is used to record the activity of scheduled tasks.
You can use the log file to determine why a task might have stopped, or to
check on the status of a task.

Notes
* If you cannot run any scheduled tasks on your computer, and your computer
is connected to a domain, see your system administrator to make sure that
the Scheduled Tasks service is turned on.
* If a user is not logged on at the time the task is scheduled to run, the
task runs, but it will not be visible.
* To check the status of a scheduled task, on the View menu, click Details,
and then scroll to view the Status column.

Start | Run | Type or paste: %windir%\SchedLgU.txt | Click OK


Paste the following line into Start | Run and click OK...

hh mstask.chm::/Tasksched_ct.htm

See...
Create a scheduled task
Modify a scheduled task
Remove a scheduled task
Stop a scheduled task that is running
Temporarily turn off all scheduled tasks

Also look around in the left hand pane. Double click the book icons to
expand them.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top