@reboot and Cron

As I’ve writ­ten before, shep­herd­ing cron on our shared UW host­ing sys­tems is one of the most inter­est­ing aspects of my job. I had a ques­tion today from some­one who noted that they had @reboot for some mysql.starter scripts, and */5 or */15 for oth­ers. Here’s my response: The */5 (every five min­utes) and */15 (every 15 min­utes)… Read More


Mozilla releases tools to help learn HTML/CSS

The fine folks at Mozilla have released a nifty tool called thim­ble which allows you to learn and exper­i­ment with HTML and CSS in a very user-friendly way. You get a code edi­tor on the left side of your screen and a live pre­view on the right. Nifty! https://thimble.webmaker.org/en-US/ If you want to just mess around,… Read More


Cronjob and Full Paths

tl;dr: Run­ning cron­jobs with scp fails. Use “/usr/local/bin/scp” instead. Longer Ver­sion: A par­tic­u­larly vex­ing and not all-together intu­itive issue is that a com­mand that works per­fectly fine in your ter­mi­nal, such as ‘scp file.txt nikky@otherhost.cac.washington.edu:~,‘ fails when put into your crontab on a Uni­form Access sys­tem with the mes­sage of “Scp: com­mand not found.” This is… Read More


phpMyAdmin 3.4.3.2 Documentation

The php­MyAd­min doc­u­men­ta­tion has been updated to sup­port ver­sion 3.4.3.2. Let me know if you run into any issues with this piece of software.


phpMyAdmin 3.4

php­MyAd­min ver­sion 3.4 was released this month. Sport­ing a slick new theme and many AJAX-y fea­tures, this is a much needed improve­ment to the for­merly aging php­MyAd­min MySQL admin­is­tra­tion suite. php­MyAd­min 3.4 works on our sys­tems. How­ever, the install process is slightly updated and our php­MyAd­min doc­u­men­ta­tion does not cur­rently reflect these changes. I’m cur­rently work­ing… Read More


Friday Tidbits

These don’t war­rant enough atten­tion to be sep­a­rate posts, but thought I’d pass them along. PHP Echo Short­cut In read­ing the PHP doc­u­men­ta­tion a few days ago, I stum­bled upon this lit­tle tid­bit for echo: echo() also has a short­cut syn­tax, where you can imme­di­ately fol­low the open­ing tag with an equals sign. This short syn­tax… Read More


mod_rewrite and site maintenance

If you’re work­ing on updat­ing or rewrit­ing a pro­duc­tion site, it may be use­ful to have a mod_rewrite rule that will auto­mat­i­cally send all traffic–except IPs you specify–to a main­te­nance page. This will let you com­mu­ni­cate to your users while still allow­ing you and your staff to work on the site unhin­dered. In this case,… Read More


New Troubleshooting Entries: Apple iWeb and MySQL Port Changes

In  light of recent sup­port ques­tions, I’ve added two new entries to our web pub­lish­ing trou­bleshoot­ing page. High­lights include: iWeb Can­not Directly Upload to public_html/student_html Fold­ers Apple iWeb does not prop­erly han­dle sym­bolic links and can­not directly upload to your public_html or student_html folder. This is actu­ally an issue I’ve been tack­ling with for a… Read More


NetID Authentication Variations

We’ve offered sup­port for web­site access restric­tions by NetID for quite a long while, and have fairly exten­sive doc­u­men­ta­tion about how to imple­ment this for many dif­fer­ent sce­nar­ios, includ­ing by UW Groups and reg­is­tered stu­dents in courses. One thing that you may not know is that you can also explic­itly exclude NetIDs using the “not” direc­tive.… Read More


File Backup/Restore

Not too many peo­ple know about this, but UW-IT pro­vides backup and recov­ery capa­bil­i­ties for files stored on the Uni­form Access clus­ters, includ­ing web pub­lish­ing. You can view more infor­ma­tion about this here: http://www.washington.edu/itconnect/email/backup.html Note that this does not reli­ably back up active MySQL data­bases while they’re writ­ing data. Refer to the this doc­u­men­ta­tion for infor­ma­tion… Read More