Posts Tagged “cronnix”

I must admit, i really like the locate command.

Unfortunally the database is usually out of date if you need it…so here the easy way how to update it

  • Open Terminal.app
  • Enter: sudo /usr/libexec/locate.updatedb

Guess it would make sense to create a cron-job or similar for this update-procedure

Haven’t tested this on 10.4 but i bet its the same commands. Otherwise should the man-page in 10.4 solve this question (man locate)

About locate itself:

locate = find data files, programs, directories, & objects matching your search.

For example, let’s say I’m searching for a file with the word “license” in the filename:

locate license

Since you usually receive quite a long list when running locate, you’ll probably want to do this:

locate license | more

-or-

locate license | less

Note that locate searches by name only. To search by any other attribute, use find. To search only for commands, use whereis.

Comments No Comments »

There are several ways to combine php-scripts with cron.

Today i realized that using CURL is an option to.

So basicly you could just do the following in commandline / Teminal.app:

curl http://your.server.ip.or.name/your-php-script-file.php

If that works for you, just continue with a manual cron-entry or using cronnix to add the cron-job

Comments No Comments »

Another nice frontend i just found:

Lets quote the project page:

CronniX is an Aqua frontend to the powerful Unix tool “cron”. Cron is a Unix system service that allows scheduled execution of scripts, programs, applications - in short anything that can be started from the command line. This includes OSX applications and AppleScripts.

Some Cronnix screenshots:

cronnix

cronnix

If you need some more basic informations about cron take a look at this link, even if its not Apple / OS X specific. I hope you enjoy this tool as i do.

Best regards

fidel

Comments No Comments »

1