views:

67

answers:

1

I wrote a PHP shell script which include queuing jobs in centOS with 'at' command. The queue jobs may vary in time and contents which means the system need to keep quite a large number of jobs. The application logic will also be a bit difficult to setup with cronjob. Is there a limit in number of queue jobs in centOS or is there any alternative way of queuing jobs?

A: 

You might consider writing to a "distributed" queue such as dropr or an implementation of AMPQ.

Justin Ethier
How about any other ways? if there is no limit in queuing jobs, i would like to use it.
Soe Naung Win
A message queue would essentially be unlimited, the only disadvantage is you would need to write a program to read from the queue and kick off the jobs. Alternatively you could use a database for the same purpose (IE, write jobs to DB and then have another process read from them). This would be easy to setup since you are using PHP, and again would support a large number of jobs.
Justin Ethier