TwitterFollowBot
TwitterFollowBot copied to clipboard
Can't run in task scheduler?
Sorry for asking so many stupid questions.
I have the bot on a server when i run in task schedule the bot does not work, if run the bot from cmd on my server it works perfect.
I have many bots running on my server, and all the others are working fine with task scheduler.. The server is a synology..
Just asking maybe you do not know the answer, it's just weird that it works perfect on the server when i run from cmd.
That is quite odd! Do you have a way of capturing the output of the scheduled task? Perhaps a useful error will be there.
You might check to make sure that any files you're pointing the bot to are pointed to with an absolute path rather than a relative path. Usually scheduled tasks run from the root directory rather than where you may be running it on the command line.