![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
My rendevous with Crontab :-)
Yo
If i do crontab cronfile it adds the shit to my cron and doesnt delete what in there right? <<<<<<<<<<,Semi Server nOOb |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2003
Location: Austin, TX
Posts: 698
|
Run "crontab -e"
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2003
Location: in yoOoo kitchen
Posts: 6,984
|
format crontab:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
usage: crontab [-u user] file
crontab [-u user] { -e | -l | -r } (default operation is replace, per 1003.2) -e (edit user's crontab) -l (list user's crontab) -r (delete user's crontab) -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2003
Location: Canby, OR
Posts: 7,453
|
And does any of this help juicy. Juicy I'm not for sure. Make a copy of your current one, put it in your cron file, and then import the cronfile
![]() jDoG
__________________
NSCash now powering ReelProfits.com ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash NOW OFFERING OVER 60 SITES CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
do this:
bash VISUAL=pico ; export VISUAL crontab -e then setup your cron and hit CTRL+X to exit and save it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
Yes, it will overwrite what is already there (as per what mryellow posted from the help output).
Just use crontab -e and put in new entries yourself. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 21,262
|
say you name your crantab file "cron"
then you do: crontab cron it will overwrite whatever you had there before as long as its the same filename
__________________
2 lifeguards for Jessica |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Jul 2002
Location: Bay Area
Posts: 4,012
|
crontab -e should do it... this is why cPanel always comes in handy.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Jan 2003
Location: Austin, TX
Posts: 698
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
crontab -e it is
Any good resource for the edit commands? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Feb 2003
Location: Canby, OR
Posts: 7,453
|
Quote:
jDoG
__________________
NSCash now powering ReelProfits.com ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash NOW OFFERING OVER 60 SITES CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 21,262
|
Quote:
__________________
2 lifeguards for Jessica |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
Quote:
Read this: http://www-jics.cs.utk.edu/I2UNIX/un...de/node14.html Basically when you open it you're in naviagtion mode, to enter any text you hit "i" for insert (or "a" for insert after the current letter, "o" for insert on the next line, etc). You type your text, then hit escape to go back into navigation mode. To delete characters, type "x". You can navigate the cursor around with the arrow keys. Once you're done, type ":wq" to (w)rite the file and (q)uit. Phew. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
Tip:
You can add a mailto line at the top and the cron will email you the output from the scripts. This makes it easier to debug what this are working and not. [email protected] -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
![]() |
![]() ![]() ![]() ![]() ![]() |