GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   who knows cron? (https://gfy.com/showthread.php?t=593343)

MrIzzz 04-01-2006 01:26 PM

who knows cron?
 
i am a total n00b at this. i basically have a TGP script that needs cron to automate it. so now what do i do?

anyone have a minute?

Gungadin 04-01-2006 01:27 PM

ICQ me 194-452-393

Hornydog4cooter 04-01-2006 01:28 PM

http://my.opera.com/Idonotlikebrocco....jpg_thumb.jpg

Hooligan 04-01-2006 01:28 PM

Korn? :error

Juilan 04-01-2006 01:31 PM

I'm sure Woj does

MrIzzz 04-01-2006 01:32 PM

Quote:

Originally Posted by Hornydog4cooter

:1orglaugh :1orglaugh

BlingDaddy 04-01-2006 01:32 PM

Quote:

Originally Posted by Hornydog4cooter

Dude... Izzz is no "noob" LMAO Is it AGSQL IZZ?

Spunky 04-01-2006 01:35 PM

That's one thing I let my host do for me.

Hornydog4cooter 04-01-2006 01:36 PM

Quote:

Originally Posted by BlingDaddy
Dude... Izzz is no "noob" LMAO Is it AGSQL IZZ?


i know he aint but that pic came to mind when i seen his post :1orglaugh

BlingDaddy 04-01-2006 01:42 PM

Quote:

Originally Posted by Hornydog4cooter
i know he aint but that pic came to mind when i seen his post :1orglaugh


Me too.... :1orglaugh :pimp

fris 04-01-2006 02:00 PM

if you have a control panel it should be easy other wise you can just create a crontab by crontab -e from the cmd line

tolik 04-01-2006 02:03 PM

hm

why you just dont add cron using ssh or control panel at host?
it easy as piss.

MrIzzz 04-01-2006 02:04 PM

Quote:

Originally Posted by fris
if you have a control panel it should be easy other wise you can just create a crontab by crontab -e from the cmd line

ok heres what i gotta do, basically i need to add these 2 lines so that my tgp script can automate

0 0 * * * /blah blah blah/cron.cgi --build-with-new

0 0 * * * /blah blah blah/cron.cgi --backup

i have ssh access now what do i do, lol?

MrIzzz 04-01-2006 02:06 PM

Quote:

Originally Posted by tolik
hm

why you just dont add cron using ssh or control panel at host?
it easy as piss.

lol, i've never had to do it before...thats why i'm a total n00b in this area

SilverTab 04-01-2006 02:07 PM

login via SSH, then type

crontab -e

now you are editing your crontab file...

just add your lines after the current cron jobs...save and exit!

MrIzzz 04-01-2006 02:09 PM

Quote:

Originally Posted by SilverTab
login via SSH, then type

crontab -e

now you are editing your crontab file...

just add your lines after the current cron jobs...save and exit!

you're da breast. is there a certain command to save?

Dirty Dane 04-01-2006 02:11 PM

Quote:

Originally Posted by MrIzzz
ok heres what i gotta do, basically i need to add these 2 lines so that my tgp script can automate

0 0 * * * /blah blah blah/cron.cgi --build-with-new

TGP Rotator from JMB? :)

MrIzzz 04-01-2006 02:12 PM

Quote:

Originally Posted by Dirty Dane
TGP Rotator from JMB? :)

yup:pimp

SilverTab 04-01-2006 02:15 PM

Quote:

Originally Posted by MrIzzz
you're da breast. is there a certain command to save?


depends what your default editor is...could be pico,pine, emacs...or VIM etc...


in VIM you save with ":w"

in pico Ctrl+O (if I remember well)

etc etc..

chadglni 04-01-2006 02:16 PM

Only cron I know is Cron Ick. He hangs out with Flip and Roshund.

fris 04-01-2006 02:16 PM

default editor is vi, some people get confused using vi, you can just set the env variable to pico for the editor if you use bash as a shell just EXPORT EDITOR="pico" then do it

SilverTab 04-01-2006 02:19 PM

ok..I was just asking cause on my server the default isnt set to vi...

if it's VI....you have to get in insert mode first ( just press "i" )


now put your 2 lines at the end of the cron file....press "Escape" to go back in command mode...and then ":w" + enter...then you can quit!... " :q "


izz: I sent you an auth request on ICQ if you need help

selena 04-01-2006 03:15 PM

Quote:

Originally Posted by MrIzzz
yup:pimp

If you want, hit me up on icq. I use the same script, and have my cron jobs set.

VicD 04-01-2006 03:16 PM

If you have a good supporting host, ask it ?
I know cron but he doesn't know me...hahaha...lame

AmateurFlix 04-01-2006 03:18 PM

Cron, I have never prayed to you before. I have no tongue for it. No one, not even you, will remember if we were good men or bad. Why we fought, and why we died. All that matters is that today, two stood against many. Valor pleases you, so grant me this one request. Grant me revenge! And if you do not listen, the HELL with you!

JD 04-01-2006 03:19 PM

i know Tron. Does that count?

http://www.internationalhero.co.uk/t/tron.jpg

tolik 04-01-2006 04:12 PM

easy way - put these lines in text file - upload to host and after this add file to cron. but note - you should use full phisical path to files everywhere for get all working.

tolik 04-01-2006 04:15 PM

forgot

how add this file:
for example you named text file with these lines cron.dat (create this file using usual notepad)
upload it to your host and then type in command line:

crontab /fullpathtothisfile/cron.dat

it most easy way ;)

dunefield 04-01-2006 04:19 PM

Cron and I have been best friends since primary school...

CyberHustler 04-01-2006 04:24 PM

http://www.graffiti.org/hc/laakso/cron.jpg


All times are GMT -7. The time now is 06:47 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123