Web Hosting Forum | Lunarpages

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
May 25, 2015, 05:31:17 AM

Pages: [1]   Go Down
Author Topic: help formatting directory parameter for cron  (Read 1190 times)
Offline Offline

Posts: 2

« on: August 12, 2007, 10:57:22 PM »

i'm trying to use cron (albeit in a hack sort of way) to execute a server command that i need to do only once. ideally i would telnet in, but need to figure out another way to make it work. the command i'm executing is below

xgettext --language=PHP /public_html/neht50/wp-content/themes/victoria/*.php

now that directory structure exists in my system but i get this back from cron

xgettext: error while opening "/public_html/neht50/wp-content/themes/victoria/*.php" for reading: No such file or directory

i'm guessing that the path i'm providing needs to be formatted some other way.

any ideas?
Senior Moderator
Berserker Poster
Offline Offline

Posts: 5992

« Reply #1 on: August 13, 2007, 07:09:53 AM »


xgettext --language=PHP /home/account_name/public_html/neht50/wp-content/themes/victoria/*.php

Remember that cron will email to the given address any output to stdout and stderr. Also, if xgettext is not in one of the standard command directories you may need to give its full path.

Visit My Site

E-mail Me
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
Jump to: