The Little Guy Posted August 29, 2008 Share Posted August 29, 2008 Not sure If I asked this before or someone else has, and I think I know the answer, but want to double check. If I use cron jobs, that doesn't use up any bandwidth right? A 2 side questions: 1. is it bad to run a cron job every minute? 2. is it bad to use cron to connect to a mailbox with IMAP functions every minute? Will that use bandwidth? Quote Link to comment https://forums.phpfreaks.com/topic/121879-cron-bandwidth/ Share on other sites More sharing options...
zq29 Posted August 29, 2008 Share Posted August 29, 2008 cron doesn't directly use any bandwidth, scripts executed as a result of a crontab have the potential to use bandwidth. 1. Depends on how much resources the scheduled task consumes 2. It will use bandwidth if the mail server is running on a box other than the one that is executing the script. (By bandwidth, I'm assuming the internet variety) Quote Link to comment https://forums.phpfreaks.com/topic/121879-cron-bandwidth/#findComment-629004 Share on other sites More sharing options...
ober Posted August 29, 2008 Share Posted August 29, 2008 It shouldn't use bandwidth as long as it's talking to itself. Yes, it's bad to run a cron job every minute Yes, it's bad. What are you trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/121879-cron-bandwidth/#findComment-629007 Share on other sites More sharing options...
Daniel0 Posted August 29, 2008 Share Posted August 29, 2008 Why would that be bad, ober? If you need to periodically check if there is new mail on a mail box then I see no better solution than doing so unless you've got direct access to the mail server itself. Quote Link to comment https://forums.phpfreaks.com/topic/121879-cron-bandwidth/#findComment-629018 Share on other sites More sharing options...
The Little Guy Posted August 29, 2008 Author Share Posted August 29, 2008 My host also doesn't allow for .forward anymore... It just logs in, checks then quits if there is no new mail, otherwise it takes the mail and saves it into a db. If there is no new mail, it doesn't even attempt to connect to the database. Quote Link to comment https://forums.phpfreaks.com/topic/121879-cron-bandwidth/#findComment-629021 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.