LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Closed Thread
  Search this Thread
Old 02-05-2007, 06:30 PM   #1
JunaidAli
LQ Newbie
 
Registered: Feb 2007
Posts: 10

Rep: Reputation: 0
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.
 
Old 02-05-2007, 08:55 PM   #2
dgar
Member
 
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 121

Rep: Reputation: 15
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 ?
 
Old 02-06-2007, 03:16 AM   #3
kbalavignesh
LQ Newbie
 
Registered: Nov 2005
Location: India
Distribution: Ubuntu , Debian
Posts: 3

Rep: Reputation: 1
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
 
Old 02-06-2007, 11:57 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,554

Rep: Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863Reputation: 5863
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.
 
Old 02-06-2007, 05:02 PM   #5
JunaidAli
LQ Newbie
 
Registered: Feb 2007
Posts: 10

Original Poster
Rep: Reputation: 0
I was not getting resoponse on this topic i opened it to other place

http://www.linuxquestions.org/questi...d.php?t=525897
 
Old 02-06-2007, 06:36 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
After having waited for an increbible 22 minutes! That's just amazing.
But you did read the rules when you signed up?
 
  


Closed Thread

Tags
cron, crontab, junaid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration