rc.local service not working


I have tried rc.local service to run my python script continously but it is not working.
I am uploading a text file which is in the same folder to server this is my python program.
can anyone help me out in this?

1 Like


Hi varun,
I think you haven’t put your file path while uploading the program to server.It runs good when you are using terminal to run the program but in this case it doesn’t work.you have to give your file path.
you can also use cron tab for this instead of rc.local

1 Like