I was able to to the following, based on the post above:
sudo apt-get install sysv-rc-conf
sudo sysv-rc-conf
mark the 6 column for mysqld or mysql.server (6 = reboot)
Note: I tried sudo update-rc.d mysql.server defaults and it didn’t work. It gave me the following error: System start/stop links for /etc/init.d/mysql.server already exist.
Updated 2026-09-26: reworked for current twilio-php.
Back in 2013 this meant patching a CURLOPT_PROXY line into the library’s TinyHttp.php, and I asked for a proxy option in twilio-php#144. Current twilio-php’s CurlClient takes an array of curl options, so put the proxy there and pass the client to Client as its fifth argument:
CURLOPT_SUPPRESS_CONNECT_HEADERS keeps the proxy’s reply to CONNECT out of the response. CurlClient only strips that reply when it’s a bare status line, so a proxy that adds headers to it, like tinyproxy, breaks response parsing without the option.
fromtendo.singletonimportSingleInstance# If is there another instance already running:
# display the message "Another instance is already running, quitting.", and raise SingleInstanceException.
me=SingleInstance()
That’s a guide to making WinSCP send a dummy command every 30 seconds to keep your connection alive. It’s way better than constantly having to type in your password.
I wanted to run a script every 20 minutes, so I put this into my crontab:
20 * * * * sh script.sh
That’s wrong. That only runs it once every hour 20 minutes into the hour. For example, 20,40 * * * * sh bash.sh would run it twice - 20 and 40 minutes into the hour.
To run the script every 20 minutes like I was expecting: