|
|
|
||||
|
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 | |
|
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:
anybody know wtf is going on? OS = Debian if that means anything to anyone lol |
|
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Dec 2005
Location: Swedän
Posts: 2,947
|
sorry, I'm just here for the sig spot..
|
|
|
|
|
|
#3 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2003
Posts: 22,651
|
Quote:
|
|
|
|
|
|
|
#4 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
DirectAdmin makes it so easy
|
|
|
|
|
|
#5 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2003
Posts: 22,651
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: May 2006
Posts: 767
|
*/2
not /2 and you have one too many * or maybe you meant */2 * * * * |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Jan 2005
Posts: 6,478
|
you missed * it should be like */2 for every other hour
|
|
|
|
|
|
#8 |
|
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? |
|
|
|
|
|
#9 |
|
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 |
|
|
|
|
|
#10 |
|
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? |
|
|
|
|
|
#11 |
|
Too lazy to set a custom title
Join Date: Jul 2003
Location: Netherlands
Posts: 10,127
|
crontab is a bitch
|
|
|
|
|
|
#12 |
|
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 |
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
grab securecrt.. putty sucks
__________________
254342256
|
|
|
|
|
|
#14 |
|
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 |
|
|
|
|
|
#15 |
|
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! |
|
|
|
|
|
#16 | |
|
Amateur Pimpin
Industry Role:
Join Date: Aug 2004
Location: Orlando, FL
Posts: 13,075
|
Quote:
lol that made me laugh (and cry a little )
__________________
Make easy money with Webcams |
|
|
|
|
|
|
#17 |
|
Confirmed User
Join Date: Apr 2006
Location: usa
Posts: 508
|
what a painful bite.
|
|
|
|
|
|
#18 |
|
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...
|
|
|
|
|
|
#19 |
|
Programming King Pin
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! |
|
|
|
|
|
#20 | |
|
Confirmed User
Industry Role:
Join Date: Apr 2004
Location: The Netherlands
Posts: 4,525
|
Quote:
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! |
|
|
|
|