Does CRON jobs affects bandwidth?

Discussion in 'Site & Server Administration' started by geekos, Jun 7, 2009.

  1. #1
    Hi
    I have a website that uses CRON job, I just want to know if cron jobs has affect in bandwidth.

    :confused:
     
    geekos, Jun 7, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    That depends on what the cron is scheduled to do. Normally, crons are only used for internal changes, such as updating stats counters, or creating backups. If you have the specific commands, it would be easier to analyze.
     
    RHS-Chris, Jun 7, 2009 IP
  3. geekos

    geekos Well-Known Member

    Messages:
    3,365
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    140
    #3
    heres the command- php home/www/user/cron.php (it runs a file that will update the database)
     
    geekos, Jun 7, 2009 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    If it just updates a database on the same server, then no, it will not effect your bandwidth.
     
    RHS-Chris, Jun 7, 2009 IP
  5. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    #5
    As I know, internal data transfer will not affect bandwidth.
     
    thuankkk, Jun 7, 2009 IP
  6. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #6
    It should not affect to your web site bandwidth. If you use like wget http://somdomain.com then it should consume your bandwidth.

    Kailash
     
    kailash, Jun 8, 2009 IP
  7. geekos

    geekos Well-Known Member

    Messages:
    3,365
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    140
    #7
    Im using cron job with my new blogs, and all I can say is cron job is powerful :)

    Thanks for the fast reply guys.
     
    geekos, Jun 9, 2009 IP
  8. Atulya

    Atulya Guest

    Messages:
    142
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Not at all. Cron jobs does not affect your bandwidth.
     
    Atulya, Jun 12, 2009 IP
  9. sadiqsaad

    sadiqsaad Peon

    Messages:
    405
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Nope it does not, cron job is server related thing. However if you have cron job to back and transfer database to some other server, thats surely going to take b/w.
     
    sadiqsaad, Jun 12, 2009 IP
  10. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #10
    Cron just opens the file you want it to..the bandwith depends on the script
     
    Bohra, Jun 12, 2009 IP
  11. LH-Danny

    LH-Danny Member

    Messages:
    398
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    35
    #11
    It will use a short burst of CPU and RAM though while the CRON job takes place.
     
    LH-Danny, Jun 12, 2009 IP