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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-03-2006, 01:07 AM   #1
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Help! Crontab makes me cry..

I'm trying to install a smartthumbs cron and it's fagging out on me. Here's what I'm doing:

I SSH into my box

#crontab -e

* /2 * * * * /usr/bin/php -q
/var/www/sites/www.domain_censored.com/html/st/admin/cron.php -server 1 > /dev/null 2>&1

exit then I get an error:


Quote:
crontab: installing new crontab
"/tmp/crontab.D4YlWe/crontab":0: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit?

anybody know wtf is going on?

OS = Debian if that means anything to anyone lol
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:08 AM   #2
MyNameIsNobody
Confirmed User
 
Join Date: Dec 2005
Location: Swedän
Posts: 2,947
sorry, I'm just here for the sig spot..
MyNameIsNobody is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:09 AM   #3
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by MyNameIsNobody
sorry, I'm just here for the sig spot..
hurry up and get banned
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:11 AM   #4
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
DirectAdmin makes it so easy
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:14 AM   #5
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by baddog
DirectAdmin makes it so easy
HEY! That's fan fucking tastic! Too bad it has nothing to do with my question.
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:15 AM   #6
flashbang
Confirmed User
 
Join Date: May 2006
Posts: 767
*/2

not /2

and you have one too many *

or maybe you meant */2 * * * *
flashbang is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:20 AM   #7
kuthi123
Confirmed User
 
Join Date: Jan 2005
Posts: 6,478
you missed * it should be like */2 for every other hour
kuthi123 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:23 AM   #8
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
I just tried

*/2 * * * /usr/bin/php -q /var/www/sites/www.domain_censored.com/html/st/admin/cron.php -server 1 > /dev/null 2>&1

and it's saying bad day of week

am i just fucking retarded?

Last edited by JD; 07-03-2006 at 01:24 AM..
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:29 AM   #9
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
maybe this will help

You can specifiy exact times using commas to separate them. eg: 1,2,3 (minutes 1,2 and 3)
You can specify spans using a dash. eg: 5-7 (minutes 5 to 7)
You can specify intervals using a star and a forward slash. eg: */2 (every 2nd minute)
You can combine them to create a more precise schedule. eg: 1,5,11-15,30-59/2 (minutes 1, 5, 11 to 15 and every 2nd minute between 30 and 59)
Note that there are no spaces
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:31 AM   #10
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Are you missing a >?

try:

* */2 * * * /usr/bin/php -q /var/www/sites/www.domain_censored.com/html/st/admin/cron.php -server 1>>/dev/null 2>&1

and maybe your OS needs it slightly different like

* 0-23/2 * * * /usr/bin/php -q /var/www/sites/www.domain_censored.com/html/st/admin/cron.php -server 1>>/dev/null 2>&1

How often did you want it to execute?

Last edited by Tempest; 07-03-2006 at 01:33 AM..
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:36 AM   #11
gooddomains
Too lazy to set a custom title
 
Join Date: Jul 2003
Location: Netherlands
Posts: 10,127
crontab is a bitch
gooddomains is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 01:40 AM   #12
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
turns out I had the fucking syntax right after post #8.......fucking putty not being full screen had broken the lines into their own instead of keeping the shit on 1 line like I had typed it

thanks for all your help guys much appreciated
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 04:48 AM   #13
studiocritic
Confirmed User
 
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
grab securecrt.. putty sucks
__________________
254342256
studiocritic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 05:26 AM   #14
PussyTeenies
Confirmed User
 
Join Date: Feb 2005
Location: Haarlem and Amsterdam, capital of the porn world ;-)
Posts: 6,496
spermy

Code:
#st pussyteenies
*/2 * * * * /usr/local/bin/php -q /usr/local/apache/htdocs/pussyteenies.com/st/admin/cron.php -server 1 > /dev/null 2>&1
* * * * * /usr/bin/nice /usr/local/bin/php -q /usr/local/apache/htdocs/pussyteenies.com/st/admin/autocrop.php > /dev/null 2>&1
* * * * * /usr/bin/nice /usr/local/bin/php -q /usr/local/apache/htdocs/pussyteenies.com/st/admin/check.php > /dev/null 2>&1
__________________
Need adult hosting?

Contact us!
WARM Hosting

Need an IT solution? or someone to check your site and security? Nossie - IT Professional
PussyTeenies is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 06:47 AM   #15
Godsmack
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: The Netherlands
Posts: 4,525
thanks Bill
__________________
Download the much improved Free Tube Script adult/mainstream tube solution for FREE!
Godsmack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 06:47 AM   #16
CIVMatt
Amateur Pimpin
 
CIVMatt's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Orlando, FL
Posts: 13,075
Quote:
Originally Posted by MyNameIsNobody
sorry, I'm just here for the sig spot..


lol that made me laugh (and cry a little )
__________________
Make easy money with Webcams
CIVMatt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 06:50 AM   #17
themanager
Confirmed User
 
Join Date: Apr 2006
Location: usa
Posts: 508
what a painful bite.
themanager is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 07:07 AM   #18
marketsmart
HOMICIDAL TROLL KILLER
 
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
don't mind me, i'm just browsing...
marketsmart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2006, 07:09 AM   #19
Basic_man
Programming King Pin
 
Basic_man's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
Glad it's working now. If you have any template problem with ST, you can hit me up on ICQ (34916475). You can let me do all the template works for a little
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress!
Stop looking! Checkout Naked Hosting, online since 1999 !
Basic_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2006, 02:12 PM   #20
Godsmack
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: The Netherlands
Posts: 4,525
Quote:
Originally Posted by Basic_man
Glad it's working now. If you have any template problem with ST, you can hit me up on ICQ (34916475). You can let me do all the template works for a little
Look under Tools/template maker

We added a template maker tool a long time ago :-) and it works :-)
__________________
Download the much improved Free Tube Script adult/mainstream tube solution for FREE!
Godsmack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.