Timeline for Issue scheduling a task in raspbian to email my out facing ip
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2015 at 22:01 | comment | added | Gene |
Change #!/bin/sh to #!/bin/sh -x ins the script and wait for cron to run it again. It'll show the commands it's running and help you narrow down where the problem is in the script.
|
|
Jun 17, 2015 at 21:55 | comment | added | alphamalle | I did this, and now even though cron runs I get an email saying DNS Error: Address resolution of raspberrypi. failed: Domain name not found. As opposed to the external ip. I know the script is correct though because when ran manually it works perfectly. | |
Jun 17, 2015 at 19:38 | review | First posts | |||
Jun 17, 2015 at 22:42 | |||||
Jun 17, 2015 at 19:37 | comment | added | Gene |
Also, if you want you can use shorthand on the cron scheduling. Instead of specifying 0,15,30,45 you can use */15 to run it every fifteen minutes.
|
|
Jun 17, 2015 at 19:34 | history | answered | Gene | CC BY-SA 3.0 |