Forum Moderators: bakedjake

Message Too Old, No Replies

About corn (not the drink) what is that?

On a sever/script for phpadsnew

         

zeus

3:16 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use phpadsnew to control my banners, but it wants to run a maintanence script, something with corn?

I have a dedicated sever if it helps.

One more thing does corn use alot of resource of the server if it has to run every 24 hours, because I have over 550.000 unique visits so it is alot of info and I had troubles with webalizer it took to much power to run, because it had 200MB to work with everyday.

zeus

dmorison

3:42 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hehe, I think you mean "cron".

It's a *nix daemon that runs programs according to a schedule.

Either type "man cron" on your system, or Google for the same.

And no - it does not use a lot of resources.

bcolflesh

3:46 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Some more corn resources are here:

www.campsilos.org/mod3/teachers/r_index.shtml

Regards,
Brent

dmorison

4:13 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



By the way, since you have a dedicated server I strongly recommend webmin - [webmin.com...]

It has a GUI interface to cron amongst many other things.

zeus

6:09 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok Im sorry it was cron, but what is crontab utility it says I can fix it there, but Im not that good at server things only the web development stuff and ofcause seo.

zeus

P.s I use Ensim control on my dedicated if that helps.

[edited by: zeus at 6:19 pm (utc) on May 30, 2003]

bcolflesh

6:18 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just teasing Zeus - do a Google search for crontab tutorial, ex:

kb.indiana.edu/data/afiz.html

Regards,
Brent

zeus

6:22 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes I just read that from India, but you have to know it is a totaly new field for me this cron thing, but thanks.

zeus

dingman

6:32 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



kb.indiana.edu/data/afiz.html

Yes I just read that from India

um, that's IndiaNA.edu. We're smack in the middle of the US, not India ;)

if you need another tutorial, try this thread from two days ago: [webmasterworld.com...] which after a brief discussion links to another one at [webmasterworld.com...]

zeus

6:41 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks and I think this link could maybe help me so I post it here for future question about cron,
[redhat.com...]

zeus

dingman

6:54 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



here's a copy of the manual page for 'crontab' on the web: [campuscgi.princeton.edu...]

Useful notes for working with crontab:

1) 'crontab' can mean either a table of instructions for cron, or the program typically used to edit those tables. If someone/something says 'your crontab', 'root's crontab', etc, they are referring to the configuration file. If they say 'use crontab', they mean the program for editing them.

2) 'crontab' the program doesn't have its own editor. Instead, like many Unix utilities, it uses an external editor. Which external text editor it uses can be configured by each user, which is nice. Unfortunately, your typical newbie doesn't know to pick one, much less how. Even more unfortunately, the editor that is usually the default is 'vi'. Vi is not user-intelligible, much less user-friendly. Fix this by setting environment variables $EDITOR and $VISUAL to contain the name of a text editor you do know how to use. I use:

export EDITOR=/usr/bin/emacs
export VISUAL=/usr/bin/emacs
in my .bashrc.

Don't set it to emacs unless you know how to use it - emacs is only slighly less opaque to a new user than vi. If you don't know what else to use, 'pico' might be a good choice. Eventually, you probably ought to learn either vi or emacs, but you don't want to practice with them on important config files. I don't know off the top of my head whether 'crontab' uses $EDITOR or $VISUAL, but it's a good idea to set both, because some programs that behave this way use one, and some use the other.

Hope that helps.

zeus

7:14 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Dingman and others

zeus

p.s I hope I can help another time