Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cron setup

 
Lifelesspeople.com Forum Index -> Help Wanted
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
Desbrina
Jadeite


Joined: 11 Jun 2005
Posts: 2963
Location: Earth

PostPosted: Fri Dec 14, 2007 1:32 pm    Post subject: cron setup Reply with quote

I've been trying to set up a cron job that runs a script every Saturday at midnight and another one for a different one for another script that runs on a Wednesday

The script is supposed to email me when it runs and its not, so its not being run

Its not a problem with the script, since it runs fine when i go directly to it

What's the settings for Saturday midnight (00:00 in between Saturday and Sunday)

I would tell you what's its currently set to but cpanel doesn't seem to be working
_________________
Midnight Tempest - A Sailor Moon TCG
Balanced Force - A Star Wars TCG
Back to top
 
Desbrina
Jadeite


Joined: 11 Jun 2005
Posts: 2963
Location: Earth

PostPosted: Sat Dec 15, 2007 6:14 am    Post subject: Reply with quote

ok, this is how i have it set up (ignore the space in it)

00**6 wget -q http://darkness within.com.ru/scripts/staffpay.php
_________________
Midnight Tempest - A Sailor Moon TCG
Balanced Force - A Star Wars TCG
Back to top
 
Desbrina
Jadeite


Joined: 11 Jun 2005
Posts: 2963
Location: Earth

PostPosted: Wed Dec 26, 2007 6:16 am    Post subject: Reply with quote

ok, i have that problem sorted. But i'm stuck with setting another one up.

I want to be able to run the script every 2 weeks on a saturday at midnight. I'm unsure as to what i need to put for the numbers
_________________
Midnight Tempest - A Sailor Moon TCG
Balanced Force - A Star Wars TCG
Back to top
 
linuxdoctor
Infallible Persona


Joined: 23 Apr 2005
Posts: 1216
Location: Ottawa, Canada

PostPosted: Fri Dec 28, 2007 6:21 am    Post subject: Reply with quote

The 00:00 between Saturday and Sunday is Sunday at midnight. Could that be your problem? Try using '0' or '7' for the day code.

One thing you might want to try as a test is to set up the cron job "five minutes from now" and see if it runs.
_________________
Misanthrope: someone who realizes that humans really are as stupid as they appear.

If you think I'm 'politically' incorrect you have the wrong politics.
Back to top
 
Desbrina
Jadeite


Joined: 11 Jun 2005
Posts: 2963
Location: Earth

PostPosted: Mon Dec 31, 2007 1:55 pm    Post subject: Reply with quote

thanks, that may have been my problem. (Except for the two weeks bit, but i think that's solved as well)
_________________
Midnight Tempest - A Sailor Moon TCG
Balanced Force - A Star Wars TCG
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Help Wanted All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com