run_program_at_boot_using_cron
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| run_program_at_boot_using_cron [2017/01/31 17:12] – [Run Program at Boot using Cron] walkeradmin | run_program_at_boot_using_cron [2017/01/31 22:15] (current) – [Execution Rights] walkeradmin | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | {{: | + | {{: |
| \\ | \\ | ||
| Line 19: | Line 19: | ||
| \\ | \\ | ||
| To avoid putting loads of commands in to Cron, its best to group them all in to a file, then just reference that file in Cron. For this example we will make a file called <color red> | To avoid putting loads of commands in to Cron, its best to group them all in to a file, then just reference that file in Cron. For this example we will make a file called <color red> | ||
| - | \\ | ||
| \\ | \\ | ||
| Line 64: | Line 63: | ||
| sudo chmod 755 launcher.sh | sudo chmod 755 launcher.sh | ||
| </ | </ | ||
| - | \\ | ||
| ---- | ---- | ||
| Line 108: | Line 106: | ||
| @reboot sh / | @reboot sh / | ||
| </ | </ | ||
| - | \\ | ||
| \\ | \\ | ||
| When you boot/reboot your Raspberry Pi, this will now run the launcher.sh, | When you boot/reboot your Raspberry Pi, this will now run the launcher.sh, | ||
run_program_at_boot_using_cron.1485882743.txt.gz · Last modified: (external edit)
