Skip to content

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