at - job added via PHP to queue not working -


i have small script in php set at jobs exec(). php can execute exec() , @ jobs added queue, because see them on @ queue list.

echo "/usr/local/ffmpeg1.1/bin/ffmpeg -i '/data/html/admin.domain.com/httpdocs/raw/gym/gym_part_1.avi' -c:v libx264 -vsync 2 -strict -2 /data/html/domain.com/httpdocs/videos/galleries/gym_part_1.mp4" | @ +2 minutes 

this doesn't work. gets queued doesn't work. if i run on bash works perfectly user i'm logged in or apache user - adding sudo -u apache before at.

echo "/usr/local/ffmpeg1.1/bin/ffmpeg -i '/data/html/admin.domain.com/httpdocs/raw/gym/gym_part_1.avi' -c:v libx264 -vsync 2 -strict -2 /data/html/domain.com/httpdocs/videos/galleries/gym_part_1.mp4" | sudo -u apache @ +2 minutes 

linux , @ version

linux

linux web1.com 2.6.18-400.1.1.el5 #1 smp thu dec 18 00:59:53 est 2014 x86_64 x86_64 x86_64 gnu/linux 

at

at version 3.1.8 


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -