Find the answer to your Linux question:
Results 1 to 2 of 2
Hello All, I am very new to this linux thing but would like to know how the command for seeing any cron scripts are running on a linux box and ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    how do i know cron scripts are running

    Hello All,

    I am very new to this linux thing but would like to know how the command for seeing any cron scripts are running on a linux box and how do I set up a *.php script to run as a cron script.

    many thanks

    JD

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Location
    Lafayette, IN
    Posts
    83
    As with most things Linux, there are several different ways to accomplish your goal. One way is that if your cron jobs produce output, you can put the following line in your crontab

    MAILTO=username@domain.com

    Of course, substituting your actual e-mail address. Another way is to look in the logs. By default on Red Hat/Fedora distros, the cron events are logged to /var/log/cron.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...