Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0

Hi All,

I have edited crontab with following credentials...

30 14 * * * /usr/local/bin/php -f /web/disk1/virtual/

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 07:33 PM.
Old 02-05-2007, 09:55 PM   #2
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, 04:16 AM   #3
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/

Show the corresponding logs from "/var/log/cron" logfile
Old 02-06-2007, 12:57 PM   #4
Registered: Aug 2002
Posts: 13,466

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
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, 06:02 PM   #5
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
Old 02-06-2007, 07:36 PM   #6
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,047
Blog Entries: 11

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

Closed Thread

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 05:03 AM
crontab Timur Sakayev Linux - General 1 03-20-2006 02:20 PM
crontab kwtan Linux - Newbie 2 11-27-2005 10:43 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 01:35 PM
Crontab Help dvong3 Linux - General 2 08-27-2003 02:12 PM

All times are GMT -5. The time now is 01:34 AM.

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