Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

copy of my crontab:

 # For example, you can run a backup of all your user accounts
 # at 5 a.m every week with:
 # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
 # 
 # For more information see the manual pages of crontab(5) and cron(8)
 SHELL=/bin/sh
 PATH=/usr/local/sbin:/usrlocal/bin:/sbin:/bin:/usr/sbin:/usr/bin
 # 
 # m h  dom mon dow   command
 @reboot ps -all >/home/pi/crontest
 @reboot /usr/bin/tightvncserver

The first line works fine, and I can verify it in syslog.

The second line does not. syslog shows running @reboot jobs, but only lists the "ps" job and not the "tightvncserver" job.

I am stumped, any suggestions?

share|improve this question
    
Try /usr/bin/tightvncserver >/home/pi/vnc.log 2>&1 instead and see if there's some error preventing the server from starting up. –  jjlin Sep 26 '13 at 19:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.