Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread Brian Clark


Hi E,

@ 11:35:17 PM on 4/9/2001, E K L wrote:

> I tried to edit the crontab file in this directory /etc to set
> schedule to run some programs.

Are you talking about /etc/cron.allow and /etc/cron.deny?

If cron.allow exists, your login has to be there. If cron.deny exists,
your login must not be in there.

To add a cronjob, you need to use:

 shell> crontab -e

Instead of editing the files directly.

> But, i failed to do so as the schedule doesn't work. I'm asking if
> anybody can help me to solve the problem. Below are the information:

cron should be logging to a file somewhere. Locate that file and check
it out.

> command written:
> 10 11 * * * root lynx -dump http://192.168.0.1/try1.php

What is 'root' in the above for? It may be different on different
systems, but this is typically the format:

# minute hourmdaymonth   wdaycommand

And at the top, the PATH should be set. Either a) lynx has to be
somewhere within your $PATH, or b) you must give the full path to
lynx.

> and i have this in mailbox when the scheduling failed: your terminal
> lacks the ability to clear the screen or position the cursor

Try:

[all on one line]
/path/to/lynx -dump http://192.168.0.1/try1.php > /full/path/to/output.txt
[/all on one line]

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please do not carbon copy me on list replies.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread E K L

Then, what am i suppose to do to solve the problem? Please consult


>From: Lewis Bergman <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: Re: [PHP] Edit crontab to set schedule..
>Date: Mon, 9 Apr 2001 22:44:25 -0500 (CDT)
>
> > and i have this in mailbox when the scheduling failed:
> > your terminal lacks the ability to clear the screen or position the
> > cursor
>wget has always worked well for me.
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread Lewis Bergman

> and i have this in mailbox when the scheduling failed:
> your terminal lacks the ability to clear the screen or position the
> cursor
wget has always worked well for me.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Edit crontab to set schedule..

2001-04-09 Thread E K L

Hi all,

  I tried to edit the crontab file in this directory /etc to set schedule
to run some programs. But, i failed to do so as the schedule doesn't work.
I'm asking if anybody can help me to solve the problem. Below are the
information:

command written:
10 11 * * * root lynx -dump http://192.168.0.1/try1.php


and i have this in mailbox when the scheduling failed:
your terminal lacks the ability to clear the screen or position the cursor
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]