Tube.put

This function adds a new job to the tube that is currently being used.

Parameters

job Job

A reference to the job to be added. Upin successful addition of the job the objects id will be updated to reflect the id given to it by Beanstalk.

delay uint

The delay to be assigned to the new job. Defaults to Job.DEFAULT_DELAY.

priority uint

The priority to be allocated to the new job. Defaults to Job.DEFAULT_PRIORITY.

timeToRun uint

The time to run to be allocated to the new job. Defaults to Job.DEFAULT_TIME_TO_RUN.

Meta