Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-05-2007, 06:30 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2007
Posts: 10
Rep:
|
Crontab
Hi All,
I have edited crontab with following credentials...
30 14 * * * /usr/local/bin/php -f /web/disk1/virtual/xxx.com/accounts/xxx/htdocs/beta/cron/index.php
But i am not able to see results from this page
This page should add a record to a table
Junaid Ali
Last edited by JunaidAli; 02-05-2007 at 06:33 PM.
|
|
|
|
02-05-2007, 08:55 PM
|
#2
|
|
Member
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 119
Rep:
|
Try catching errors in a log file.
Add " > /tmp/cronlog 2>&1 &" to the end of the job.
Come to think of it, it should be mailing these errors to root. Do you have root aliased to your email address?
What's the size of /var/spool/mail/root ?
|
|
|
|
02-06-2007, 03:16 AM
|
#3
|
|
LQ Newbie
Registered: Nov 2005
Location: India
Distribution: Ubuntu , Debian
Posts: 3
Rep:
|
Is this working in CL ?
Try to run as root from CL with full path like
#/usr/local/bin/php -f/web/disk1/virtual/xxx.com/accounts/xxx/htdocs/beta/cron/index.php
Show the corresponding logs from "/var/log/cron" logfile
|
|
|
|
02-06-2007, 11:57 AM
|
#4
|
|
Moderator
Registered: Aug 2002
Posts: 10,700
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
|
|
|
02-06-2007, 06:36 PM
|
#6
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
After having waited for an increbible 22 minutes! That's just amazing.
But you did read the rules when you signed up?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
crontab help
|
pshankland |
Linux - General |
2 |
04-24-2006 04:03 AM |
|
crontab
|
Timur Sakayev |
Linux - General |
1 |
03-20-2006 01:20 PM |
|
crontab
|
kwtan |
Linux - Newbie |
2 |
11-27-2005 09:43 PM |
|
system-wide crontab in /etc/crontab
|
ner |
Linux - General |
2 |
11-18-2003 12:35 PM |
|
Crontab Help
|
dvong3 |
Linux - General |
2 |
08-27-2003 01:12 PM |
All times are GMT -5. The time now is 07:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|