scheduled tasks

G

guillermo

I am testing a scheduled task that I want to run to prevent my students from
running games applications from 2 p.m to 3:30 p.m. I am defined as
administrator in my computer management local users and groups. I setup the
task and it runs O.K.. that is it kills the games. Now when I logon as a
student the scheduled task never run. That is I do not see the tasks running.
I am expecting to have this tasks to run for anybody who logs on to the
computer from 2 p.m. to 3:30 p.m., especially the students.
What am I missing?
Thank you for your help!
 
B

Bob I

perhaps you set it to run only when logged on? Change that, so it runs
even when you are not logged in.
 
G

guillermo

No, it is not setup to run only when logged on. That option is blank. That
is I did not selected it.
Bob, thanks for your help!
 
P

Pegasus \(MVP\)

guillermo said:
I am testing a scheduled task that I want to run to prevent my students
from
running games applications from 2 p.m to 3:30 p.m. I am defined as
administrator in my computer management local users and groups. I setup
the
task and it runs O.K.. that is it kills the games. Now when I logon as a
student the scheduled task never run. That is I do not see the tasks
running.
I am expecting to have this tasks to run for anybody who logs on to the
computer from 2 p.m. to 3:30 p.m., especially the students.
What am I missing?
Thank you for your help!

How do you know that it does not run? It probably does - if
you make the first two lines as follows then you will know for
sure:
@echo off
echo %date% %time% >> c:\test.txt

To find out why you're not getting the expected result, you
should post the full details of the task you've scheduled.
Is it a batch file?
 
B

Bob I

Ok then, is it set to start at 2pm and run continuous till 3:30? try
logging in as a "student" and try playing a game that this application
"kills".
 
G

guillermo

This is what I am doing. I am able to see the task running when I am logged
on as my userid and I see when the task (It is a batch task) comes in through
a black
screen and the games are out after that. Yet, when I log on as a student. I
do not see the started task. The problem here is that the student has a
mandatory profile and the command (black screen) neither left me see the
programs screen. So I do not know if this is the cause that the scheduled
task does noe exe.
Thanks for your help!
 
T

techrep1

Try setting up the task to run while logged in as the student profile.
Sometimes the scheduled tasks need to be loaded from the user that task is
designed for. hope that helps. Make sure you delete original task prior to
testing new one or your results might get confused...
 
B

Bob I

The "Task" should run in the "background" of the student login with
"your permissions". You may see it in Task manager "Processes", but you
won't see it in "Applications".
 
G

guillermo

First, thanks for your help! I know it does not run because when I am logged
on as my user I see the scheduled task starting (a black screen, it is a
batch job) and the game that I am playing is killed after that. On the other
hand, when I logon as a student. These account has lots of restrictions such
as They cannot see the run, they cannot use the command prompt and cannot
see most programs when they hit the start they do not see the programs (It
is because they run with a mandatory profile. I am not sure if the
mandatory profile also implies that they cannot run anything but whatever is
in the desktop.

Guillermo
 
P

Pegasus \(MVP\)

I beg to disagree. Scheduled tasks are meant to run in the background,
which makes them invisible to you. Run the test I suggested - it will
tell you authoritatively if the job runs or not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top