crontab getting wiped

  • 1
  • Problem
  • Updated 4 years ago
  • Acknowledged
Im using Ubuntu 14.04 and am trying to use crontab and pulse eight's CEC HDMI adapter and program to automatically turn off/on my display before and after business hours. I have the player up and running just fine, but once I edit crontab with the command, then save and reboot the rvplayer does not start. I have uninstalled rvplayer, re-installed and it works again, but the installation wipes out everything in crontab folder like it never existed. The programs don't seem to want together. How can I fix this?
Photo of DSquared

DSquared

  • 302 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
While we don't use crontab any longer, its possible that a line exists in the startup script that wipes it out (from when we did use crontab).

Commenting out, or deleting the lines will take care of this for you.  You can find the startup script in the /rvplayer folder

Thanks.
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
You can find the references to crontab beginning on lines 389, and then the function call on line 617

The name of the file you're going to be searching in is called rvplayer (in the rvplayer folder).  I have logged a bug for this here if you're interested.

Thanks.
Photo of James Seymour

James Seymour

  • 160 Points 100 badge 2x thumb
Hi, Has this bug been fixed?  I checked GitHub and it does not look like it.

Also when I check the rvplayer file the lines numbers 389 & 617 do not appear to relate to cron.  I tried to comment out all lines relating to cron but it affected the screen resolution of the Pi and RV Player still did not load.

Thanks for any help anyone can provide.
(Edited)
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
James,

No updates to this as of yet. We'll keep everyone posted on new releases and changes with community updates.