【发布时间】:2013-12-15 15:31:03
【问题描述】:
我喜欢像这样运行一个 cron 来为摄像头拍摄快照:
* 9-17 * * 1-5 vlc -I dummy v4l2:///dev/video0 --video-filter scene --no-audio --scene-path /home/foo/tmp/cam --scene-prefix snapshot --scene-format png vlc://quit --run-time=1
但是当 cron 运行时它只会抛出一个我不明白的错误:
** Message:
Failed to get session bus:
Error spawning command line 'dbus-launch --autolaunch=55644972b3c91c1d24d83d8252721f00 --binary-syntax --close-stderr':
Child process exited with code 1
在网上我找不到干净或好的文档是什么。你能帮我弄清楚吗?
【问题讨论】:
标签: linux ubuntu terminal cron v4l2