Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add start.sh for a cron job #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add start.sh for a cron job #57

wants to merge 1 commit into from

Conversation

SunCatMC
Copy link
Member

@SunCatMC SunCatMC commented Apr 8, 2021

Purpose

To allow for the bot to be started via a cron job

Approach

Add a .sh file with a command to launch it on separate screen

Future work

Checklist

@@ -0,0 +1,2 @@
# Start a screen called "r-isa" with the risa process
/usr/bin/screen -S r-isa -d -m bash -c "/home/risa/r-isa/bin/risa; exec sh" ; exit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/usr/bin/screen -S r-isa -d -m bash -c "/home/risa/r-isa/bin/risa; exec sh" ; exit
cd /home/risa
/usr/bin/screen -S r-isa -d -m bash -c "/home/risa/r-isa/bin/risa; exec sh" ; exit

@@ -0,0 +1,2 @@
# Start a screen called "r-isa" with the risa process
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Start a screen called "r-isa" with the risa process
#!/usr/bin/bash
# Start a screen called "r-isa" with the risa process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants