backend gearman job functions