I'd like to execute a cron job but only if a file has changed...meaning the contents of the file has changed. I thought about using the modified time but then if I run the cron job every 5 minutes and
Can static values be hardcoded into your themes? This will mean you have to edit code every time you make changes, but for generally static areas, this can be a good trade off.
Are there reasons why I wouldn't be able to do an update_option? I'm trying to do: if (!update_option('my_option_name', $option)) { die('cannot update!'); } and it dies every time.