I'm afraid it didn't work for me...
I need to run the same command: service postgresql start and it just isn't started (it runs fine as root/sudo). File permissions for the script are good wrxwrxwrx. I do believe shell starts and the script is being run.
I have Windows build 17692. I must be missing something...
I had been rebooting the windows machine by "restart"... This morning when I booted it from shutdown state, the Postgres server was running. And this is from the script and task scheduler you explained.
Thanks again.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm afraid it didn't work for me...
I need to run the same command:
service postgresql startand it just isn't started (it runs fine as root/sudo). File permissions for the script are good wrxwrxwrx. I do believe shell starts and the script is being run.I have Windows build 17692. I must be missing something...
Great post, I appreciate it!
I'll keep trying. Cheers.
UPDATE: IT IS WORKING!!!!!!!!!!!
Yay!!!
I had been rebooting the windows machine by "restart"... This morning when I booted it from shutdown state, the Postgres server was running. And this is from the script and task scheduler you explained.
Thanks again.