-2

I have a script that, at a specific time like 2.55pm on a Friday, saves on open spreadsheet file to a USB and shuts down. The Files name is attend.ods and it is in the Documents folder on a Raspberry Pi 3.

How to autorun that script?

4
  • Cool. So what's your question?
    – Daniel B
    Jan 9, 2017 at 22:26
  • How do you do this?
    – Arcanium
    Jan 9, 2017 at 22:28
  • The script needs to autorun.
    – Arcanium
    Jan 9, 2017 at 22:29
  • 2
    So it's not really "I want a script!" but "How do I make a script run at a specific time?". Which is good, because the former isn't on-topic. It's not even a question. You should edit your question. And since your already have the cron tag, you should perhaps expand on what's keeping you from using it.
    – Daniel B
    Jan 9, 2017 at 22:35

1 Answer 1

1

Run crontab -e At the end of the file, put

55 14 * * fri /path/to/script.sh

for more information, run man 5 crontab

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .