Jump to content

[Solved] Script running and Cron Job


lustboy

Recommended Posts

Hello, I am new to the site and was looking to do a few things.  

  

I have a script that runs on my computer that scrapes the flairs of several subreddits and puts the names of those users in 2 different text files. I was looking around and was having trouble figuring out how to 

A ) Run my script

and

B ) Wanted to check with the admins before setting up the cron job.

 

As of currently the script runs on my home computer and it runs on a different web hosting site.

 

username: lustboy

email: Packerfan504@gmail.com

Server: johnny

 

the script is stored in

/home/lustboy/public_html/cgi-bin/gettingUsers.py

 

and a slightly modified version of it is here, removing authentication and specific names

https://pastebin.com/WfHtFC4a

 

supposedly I should be able to run it with

"http://domain.com/cgi-bin/gettingUsers.py "

https://johnny.heliohost.org:REDACTED/cpsessREDACTED/public_html/cgi-bin/gettingUsers.py

or

https://johnny.heliohost.org:REDACTED/cpsessREDACTED/home/lustboy/public_html/cgi-bin/gettingUsers.py

 

but neither seemed to work.

 

Thanks!

Edited by lustboy
Link to comment
Share on other sites

It should be your domain.heliohost.org/cgi-bin/gettingUsers.py,

 

The bad news is I don't know why your account doesn't work. We've been having DDoS attacks lately, but you're already on the other IP that's not being it. It looks like Apache may have died. Lets have Krydos look at this for you.

Link to comment
Share on other sites

The problem is the ddos attack. We're trying various methods of mitigation to see what is the most effective. The best solution to the problem is switching to Ricky or Tommy which aren't affected by the ddos attack.

Link to comment
Share on other sites

Neither of those will work. If your website was up you could access your cgi script by going to lustboy.heliohost.org/cgi-bin/gettingUsers.py in browser or with a cron command such as /usr/bin/python3.6 /home/lustboy/public_html/cgi-bin/gettingUsers.py

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...