Skip to content

run_bot.sh can fail if run from cron #1

Description

@citizen38

if the run_bot.sh fails running from cron but runs from the command prompt, then add the line

cd /home/pi/tracerybot/ 

as line 2 of run_bot.sh, before the program execution
This example running on a pi, change the directory as appropriate to the directory where the tracerybot executes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions