Hi all,
i created a script to generate a little movie from jpg's to mpg, once a day at 01:00 am.
When run in ssh as root there are no problems at all.
If cron executes this script nothing happens, it shows up in the cron log, however no file is created.
When i do user > cron and enter info nothing happens i even tried creating a file in /etc/cron.d called camera
camera.cron:
Best would be to get the "user" cron (in controlpanel) to work. Any thoughts?
i created a script to generate a little movie from jpg's to mpg, once a day at 01:00 am.
When run in ssh as root there are no problems at all.
If cron executes this script nothing happens, it shows up in the cron log, however no file is created.
When i do user > cron and enter info nothing happens i even tried creating a file in /etc/cron.d called camera
Code:
0 1 * * * root /home/username/domains/userdomain.nl/public_html/camera.cron
camera.cron:
Code:
/usr/local/lib/convert -delay 10 -quality 75 /home/username/domains/userdomain.nl/public_html/webcam/`date --date="yesterday" +%Y_%m_%d`*.jpg /home/username/domains/userdomain.nl/public_html/webcam/movie/dag/`date --date="yesterday" +%Y_%m_%d`.mpg
Best would be to get the "user" cron (in controlpanel) to work. Any thoughts?
Last edited: