Timeline for Why crontab choose to execute one of the command over other?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 29, 2016 at 18:23 | vote | accept | ThN | ||
Jun 21, 2016 at 21:22 | review | Close votes | |||
Jun 22, 2016 at 7:54 | |||||
Jun 21, 2016 at 19:55 | comment | added | joan | You really need to look through a Linux tutorial. It will cover many similar things to this which will catch you out until you understand what is going on. | |
Jun 21, 2016 at 19:49 | answer | added | ThN | timeline score: 1 | |
Jun 21, 2016 at 19:47 | comment | added | ThN | :) I was under the impression that you have to do exactly as you would on the terminal when it comes to executing commands in the crontab. Well, I simply took the DOT out and Viola!!! Thanks, Joan | |
Jun 21, 2016 at 19:36 | comment | added | joan | You need to look online for a Linux tutorial to explain such things as absolute and relative paths. | |
Jun 21, 2016 at 19:31 | comment | added | ThN | @Joan if I do that, how will it know to execute ds1302 program. Do I have to change directory before I run the command? | |
Jun 21, 2016 at 19:28 | comment | added | joan | You have changed an absolute path to a relative path. Get rid of the dot. | |
Jun 21, 2016 at 19:27 | comment | added | ThN |
@joan The reason I have . in the beginning is to execute ds1302 program. dot followed by absolute path /home/pi/script/ .
|
|
Jun 21, 2016 at 19:25 | comment | added | joan | This is a duplicate. You have been told before to use absolute paths in crontab. Anything starting with a . is not an absolute path. | |
Jun 21, 2016 at 19:23 | history | edited | ThN | CC BY-SA 3.0 |
deleted 6 characters in body
|
Jun 21, 2016 at 19:14 | history | asked | ThN | CC BY-SA 3.0 |