Hi, I just wanna ask you guys: do you need cron jobs every minute? To do what? Any help is appreciated (Plz don't ask me why I make this question)
Cron jobs every minute would put a very high load on your server. You only need them if your script needs to do specific tasks at specific times. Basically you are telling the server to run a specific file at certain times of the day - preferably NOT every minute
Every mins are crons are use full if you have private data or logs being transferd to ftp then you want to move into a unreachable directory
Thank you guys. rep+ However, can anyone tell me what makes you need cron jobs every minute like crazy, and willing to pay for it?
Good question! Good answer: because some web hosting providers do disable cron jobs, or limit number of cron jobs and/or limit minium interval (every 5 or 10 minutes only). If I need cron jobs every minute like crazy, I'll pay. But my question is the reasons that make someone need cron like crazy. Can you help me?
People will probably use it for spamming/sending bulk emails. Example: If you have a host, which allows 500 emails to be sent in 1 hour, you could create a custom script/or use an existing script that supports emailing with a limit of 500 emails per hour. You would need a cron to do so if your host don't know you are using their server to send bulk emails. That way, they won't notice you compared to sending all 500 emails at once. Just my 2 cents.
I have an example of when a every minute cron job would be useful. I wrote a script for an organization where someone could send a text message with someone's name and it would text them back with that person's phone number. The cron job would check the inbox of the email address that people would send the texts to, then look up the name and respond with the phone number. The response time depended on how often the cron job would run so the most ideal would be every minute for a quick response but at the same time it puts a load on the server. I ended up not using the script since the hosting company limited me to 10 minute cron jobs and I am too impatient for that, I felt anything over 5 minutes would be too long of a response time.
Thanks Narrator If I'm hosting provider, I won't either allow my users to run thing every minute You can check some service that provide 5 min. cron jobs, e.g setcronjob.com, webbasedcron.com, cronless.com (this site seems to suspend my cron after one day?!).
1 Minute Crons can also be used in email list sending rather than sending 1000's of mails at a single time you can set a cron and send 5 - 10 emails every min etc..
sometimes U really need a cron every minute. for example to gather some data to create some very precise graphics for uptime, latency, traffic. sometimes 5 minutes is not enough. sometimes U will need to set up a daemon to make this dirty job even at 10 second, or 30 seconds, and with cron I don;t think is possible.