Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default Are these crons right?

    I'm not very good with crons, and they always fail on me.
    So are these crons right. 1s to run weekly and the other to run monthly.

    Weekly:

    Command:
    php -q /home/user/public_html/cron/weekly.php

    Minute(s):
    0
    Hour(s):
    0 = 12 AM
    Months(s):
    Every Month
    Day(s):
    Every Day
    Weekday(s):
    Sunday


    Monthly:

    Command:
    php -q /home/user/public_html/cron/monthly.php

    Minute(s):
    0
    Hour(s):
    0 = 12 AM
    Months(s):
    Every Month
    Day(s):
    31
    Weekday(s):
    Every Day

  2. #2
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    To an advanced user, 0 0 1 * * is a cron job running on the first of every month at 0AM. And for monthly you'd do 0 0 * * 1 - the 1 on the end being Monday, every monday at "0:0" (first two zeros) - midnight. If it was 0 1 * * 1 then it would be 1AM on monday, and so on. Tuesday at midnight would be 0 0 * * 2 (second day of the week) etc.

    Reasonably straight forward.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •