Jump to content

Recommended Posts

Posted

Hi forum members,
I need to run a script only once at boot or reboot.
Using the @reboot method in the crontab is not working under Armbian.

For example neither of these lines at the end of the /etc/crontab file is working:
neither

@reboot date >> /home/pi/boottime.txt
nor
@reboot /home/pi/control.sh  init >> /home/pi/init.log

Please has someone a hint how to get it to work under Armbian ?

Regards
wollik

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines