Note To Self: Cron Job Syntax

February 9th, 2007

How many of you write notes to yourself about things you constantly forget?

I’ve found one of the best methods of remembering stuff is to just blog about it. That way, I can just search my blog for the answer. It’s like having a 100% portable notebook. It’s also a good way to help other people who may have the same questions you do.

Like today for example, I needed to run a PHP script as a cron job, but I couldn’t remember the crontab syntax.

Here’s the command I enter to run my php script:


php -q /home/sitename/public_html/cronscript.php

Next time I forget that I need to use the -q option, I’ll know where to look!

Entry Filed under: Main

1 Comment


About Ryan Jones

Name: Ryan Jones
Alias: HockeyGod
Location: Michigan
Company: Team Detroit
Title: Sr. Search Strategist
AIM: TheHockeyGod
Pets: Who Dey

Twitter & Klout



My Websites

Internet Slang Dictionary
Fail Pictures
FeedButton
Translate British
TextSendr
URL Shortener
Bad Words
WoW Slang
Free Softball Stats

Buy My Book

Recent dotCULT Posts

Related Posts: