CodeIgniter Forums
Cronjob limitation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Cronjob limitation (/showthread.php?tid=75133)



Cronjob limitation - omid_student - 12-28-2019

Hi
Is there limitation for Cronjob in linux host?
I need to 500 task in Cronjob and i dont known do i can use Cronjob for 500 task or it is affecting on my host

Why i use 500 task?
Because i need calculate many locations for each device and i have to run separate task cronjob and have to add 500 or maybe more

Please help


RE: Cronjob limitation - includebeer - 12-28-2019

If you're on a cheap shared hosting, they probably won't allow it because it will use too much resources.


RE: Cronjob limitation - John_Betong - 12-28-2019

I would be tempted to try and schedule about ten Apache2 Cron tasks to run every thirty minutes.


RE: Cronjob limitation - omid_student - 12-28-2019

(12-28-2019, 03:16 PM)includebeer Wrote: If you're on a cheap shared hosting, they probably won't allow it because it will use too much resources.
Yes my host is shared
What is solution?

(12-28-2019, 11:07 PM)John_Betong Wrote: I would be tempted to try and schedule about ten Apache2 Cron tasks to run every thirty minutes.
How do?
I cannot access to Apache in host


RE: Cronjob limitation - John_Betong - 12-28-2019

@omid_student,
> How do? I cannot access to Apache in host


My Linux VPS cost five USD/month. If you PM some test Cron tasks I will try on my server.


RE: Cronjob limitation - omid_student - 12-29-2019

(12-28-2019, 11:56 PM)John_Betong Wrote: @omid_student,
> How do? I cannot access to Apache in host


My Linux VPS cost five USD/month. If you PM some test Cron tasks I will try on my server.

Ohom But dont have VPS