Results 1 to 3 of 3
I m working somewhere and person working earlier over here set one cron job which executes one php script at 6:00 pm daily And I m getting mail regarding the ...
- 01-06-2011 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 6
To Find Location Of Script
I m working somewhere and person working earlier over here set one cron job which executes one php script at 6:00 pm daily And I m getting mail regarding the execution and output of this script daily.
Therefore one php script is running as a cronjob daily.
1. Now i want to know the name of the script or path of this script.But i m not getting
so plz tell me HOW CAN I CAME TO KNOW ABOUT THE NAME or PATH OF THIS SCRIPT
2. And plz tell me if we schedule one cronjob then in how many files entry for this job will be added and plz give me the names of those files where entry will be added.
- 01-06-2011 #2Just Joined!
- Join Date
- Dec 2010
- Location
- India
- Posts
- 45
you can check the crontabs running into your system using crontab
crontab -l : displays your crontab file
crontab -e edits crontab file
- 01-06-2011 #3Linux Newbie
- Join Date
- Dec 2009
- Posts
- 241
find /etc/cron* -type f -exec cat {} + | grep php
shows you all cronjobs running with php ... and some lines more.


Reply With Quote