Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

296
Views
Rapberry pi rc.local,crontab @restart not running on boot

I'm running Raspian on a Raspberry Pi. I want to run a script on startup, but nothing seems to be working. To test it, I'm currently just putting solely

echo "Helloooooooooooooooooooooooooooooooooooooooooo"

into /etc/rc.local after the default lines of # (directly after, before 'return 0')

However, it does not run at boot.

I tried putting the command into the crontab, with

@restart echo "Helloooooooooooooooooooooooooooooooooooooooooo"

but that also fails to work.

How can I fix this?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Try this:

@restart echo "Helloooooooooooooooooooooooooooooooooooooooooo" > /dev/tty

See, if that works.

over 4 years ago · Santiago Trujillo Report

0

Try to put your echo command in a bash script and read my response here: Autostart does not work after user reboot

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!