Cron to restart VPS

Discussion in 'Site & Server Administration' started by tapalapa, Mar 2, 2007.

  1. #1
    never done this. so i need a detailed instruction on how to set a cron to restart my VPS everyday at 5:00 am GMT. i am on a linux centos vps, with whm & cpanel.

    thanks in advance guys.
     
    tapalapa, Mar 2, 2007 IP
  2. JoshuaGross

    JoshuaGross Peon

    Messages:
    411
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should ask your server support guys.
     
    JoshuaGross, Mar 2, 2007 IP
  3. tapalapa

    tapalapa Peon

    Messages:
    229
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    mein just tell me. those server support people speak chinese to me. for real. they reply so technical i get lost from the email subject.

     
    tapalapa, Mar 2, 2007 IP
  4. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    First, why you like to restart your VPS at the specific time? If you have problem, find out the root problem
     
    tanfwc, Mar 2, 2007 IP
  5. JoshuaGross

    JoshuaGross Peon

    Messages:
    411
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Learn their language - or don't try to run your own server, you might do something like run a cron job to restart the server every day :eek:
     
    JoshuaGross, Mar 2, 2007 IP
  6. tapalapa

    tapalapa Peon

    Messages:
    229
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You gonna help or just keep hating on a homie ? stop trippin and jst tell me how to do it, else jst bounce aight
     
    tapalapa, Mar 2, 2007 IP
  7. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'm not 100% sure, add to crontab (everyday at 5)
    shutdown -r
     
    agnivo007, Mar 3, 2007 IP
  8. JoshuaGross

    JoshuaGross Peon

    Messages:
    411
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'm trying to help. It's much better to get a pro's advice than to rely on strangers for something like this. You have a support team. Use them.
     
    JoshuaGross, Mar 3, 2007 IP
  9. tapalapa

    tapalapa Peon

    Messages:
    229
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    aight. no beef playa.
     
    tapalapa, Mar 3, 2007 IP
  10. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #10
    Are you for real? Or is this a joke?
     
    carl_in_florida, Mar 5, 2007 IP
  11. jacobbannier

    jacobbannier Active Member

    Messages:
    1,155
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #11
    hehe,
    that what I was wondering :)
     
    jacobbannier, Mar 6, 2007 IP
  12. JoshuaGross

    JoshuaGross Peon

    Messages:
    411
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #12
    mein dont be a playa hater

    I'm guessing it's for real. Doesn't really matter, though.
     
    JoshuaGross, Mar 6, 2007 IP