5

I'm taking care of the company's website for a while. The guy who was doing so before me was fired because reasons. So for the past 3 months I've been keeping it up to date and adding/deleting stuff. Not a big deal, I know a bit of PHP so it is not a problem.

However, the problem is not there.

The manager told me as soon as I took the charge that there was "magic" going on behind the server. Every night, there are a few scripts written in PHP that update our website and the database. Well, I know which scripts are being executed, and where they are; but I can't find why they are being executed.

The scripts are located in the controllers/tasks folder inside our server, but there's nothing in the task scheduler.

How can I find out how are these tasks being programmed, and if I can change their frequency? Thanks before hand.

DATA Windows Server 2003 running WAMP 2.1, which includes

  • Apache 2.2.11
  • MySQL 5.1
  • PHP 5.3

PS. Excuse my poor english.

HopelessN00b
  • 54,273

1 Answers1

0

An option would be to setup a scheduled task to output all the running tasks during the time period when the other task runs.

Here is a quick example command (could be built more robust if run over time) that could be scheduled through the task scheduler.

tasklist >> c:\temp\taskoutput.txt

Depending on how long the other task runs, you could schedule this command for every hour and check it in the morning for suspect processes.