TwitterFollowBot icon indicating copy to clipboard operation
TwitterFollowBot copied to clipboard

Can't run in task scheduler?

Open steffanjensen opened this issue 9 years ago • 1 comments

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.

steffanjensen avatar Dec 15 '15 15:12 steffanjensen

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.

rhiever avatar Dec 15 '15 15:12 rhiever