Giter Club home page Giter Club logo

Comments (5)

rokibhasansagar avatar rokibhasansagar commented on June 7, 2024 1

Maybe closing the tmate session was stopping the script 😕

Try running like this -

repo init args opts ..
curl -sL https://github.com/rokibhasansagar/slimhub_actions/raw/main/cleanup.sh | bash &>/dev/null & disown;
repo sync args opts ..

from slimhub_actions.

Apon77 avatar Apon77 commented on June 7, 2024 1

Maybe closing the tmate session was stopping the script 😕

Try running like this -

repo init args opts ..
curl -sL https://github.com/rokibhasansagar/slimhub_actions/raw/main/cleanup.sh | bash &>/dev/null & disown;
repo sync args opts ..

It worked! Thanks brother ❤️

from slimhub_actions.

rokibhasansagar avatar rokibhasansagar commented on June 7, 2024

I'm not seeing any error on my end.
To further investigate, I have to look at your script and log output to figure out the actual problem.

from slimhub_actions.

Apon77 avatar Apon77 commented on June 7, 2024

I'm not seeing any error on my end.
To further investigate, I have to look at your script and log output to figure out the actual problem.

ops! I just noticed that I was using your previous script, which was only compatible with ubuntu 20.04 ig. will check with the latest script and report. Sorry for inconvenience.

from slimhub_actions.

Apon77 avatar Apon77 commented on June 7, 2024

I'm not seeing any error on my end.
To further investigate, I have to look at your script and log output to figure out the actual problem.

It's still happening.
how to reproduce:
connect ssh to actions, then
wget https://raw.githubusercontent.com/rokibhasansagar/slimhub_actions/main/cleanup.sh && chmod +x cleanup.sh && ./cleanup.sh &

Then I ran some other commands like htop, echo hello world, then closed the tmate session. then when I reconnect to the session and used the jobs command to see background jobs it is said stopped jobs.

~$ jobs [1]+ Stopped ./cleanup.sh

Btw it's working fine if I use it as an action with -uses steps. But it consumes 8-10 minutes. I just wished if this 8-10 minutes can be done in the background.

Thanks.

from slimhub_actions.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.