I have tried to edit the crontab file to run a program at reboot,
when I enter sudo crontab -e it indicates no file exists for pi
when I enter sudo -E crontab -e I get the file I previously edited using sudo nano crontab -e and it is correct, but when I go to save it ctr-X it saves it to /tmp/crontab.xxxxx/crontab where xxxxx is different every time.
If I go to /tmp directory no crontab.xxxx file or directory exist.
I have changed the save directory to /tmp/crontab many times and when I exit no change is made.
If I enter sudo crontab -l it displays my file perfectly.
Any ideas
Ray