I'm sure I've seen a thread on this, but a casual search didn't turn it
up. (I'm always looking in the wrong places.)
When I'm logged in as a user, I can set the appropriate environmen
variables, but when a daemon is running, where is it going to get them?
Joel Rees
My experience is that this kind of thing tends to lead to dead code or
endless loops. Do I need to dig in and find the macro declaration and
see if I can fix it?
warning: comparison is always false due to limited range of data
type
regcomp.c:724
pp_sys.c:302
byterun.c:898
re_comp.c:724
On Apr 30, 2004, at 2:24 AM, Joel Rees wrote:
When I'm logged in as a user, I can set the appropriate environmen
variables, but when a daemon is running, where is it going to get
them?
Daemons are started from scripts found in /System/Library/StartupItems
(for Apple-provided daemons), or
On Apr 30, 2004, at 2:30 AM, Joel Rees wrote:
My experience is that this kind of thing tends to lead to dead code or
endless loops. Do I need to dig in and find the macro declaration and
see if I can fix it?
warning: comparison is always false due to limited range of data
type
In my own
On 2004.4.30, at 04:38 PM, Sherm Pendley wrote:
On Apr 30, 2004, at 2:30 AM, Joel Rees wrote:
My experience is that this kind of thing tends to lead to dead code
or endless loops. Do I need to dig in and find the macro declaration
and see if I can fix it?
On 2004.4.30, at 04:30 PM, Sherm Pendley wrote:
On Apr 30, 2004, at 2:24 AM, Joel Rees wrote:
When I'm logged in as a user, I can set the appropriate environmen
variables, but when a daemon is running, where is it going to get
them?
Daemons are started from scripts found in
Okay, one more that had me curious, from the configure script --
vfork() found.
Perl can only use a vfork() that doesn't suffer from strict
restrictions on calling functions or modifying global data in
the child. For example, glibc-2.1 contains such a vfork()
that is
On Apr 30, 2004, at 7:28 AM, Joel Rees wrote:
Thanks. I needed that information, because I had forgotten that Mac OS
X doesn't use the rc/* convention. Don't look like there are any hooks
for an rc.local. An rc script for the daemon would be handy for
setting an environment variable.
Each
On Apr 30, 2004, at 7:29 AM, Joel Rees wrote:
Okay, one more that had me curious, from the configure script --
vfork() found.
Do you still want to use vfork()? [y]
Do I take this to mean that Mac OS X (10.2.8) still doesn't have a
proper fork for Perl's purposes? (for Perl 5.8.4)
Dunno. I
Greetings,
I try to back up my system once a week. I have a firewire disk drive
that I use for this purpose. I have been using the Lacie software that
came with it. Before Panther, I used to be able just to plug it in and
run it under my own id. Now I need to log in as root to run it. Which
I use DejaVu for periodic backing up of important folders. It runs as a
preference panel, uses
cron and psync.
If you want to use cron and let your system go to sleep then you might
want to take a look
some of the stuff I have at http://homepage.mac.com/levanj/Cocoa. It
turns out you have to
On Fri, 30 Apr 2004, Jerry LeVan wrote:
If you want to use cron and let your system go to sleep then you might
want to take a look some of the stuff I have at
http://homepage.mac.com/levanj/Cocoa. It turns out you have to do a
little song and dance to make sure the mac is awake (for a long
On Apr 30, 2004, at 4:36 PM, Jerry LeVan wrote:
If you want to use cron and let your system go to sleep then you might
want to take a look
some of the stuff I have at http://homepage.mac.com/levanj/Cocoa. It
turns out you have to
do a little song and dance to make sure the mac is awake (for a
Anacron does not appear to run cron jobs at at particular time, the
dailyWakeup/keypress/cron
combination can insure that the cron job is run on time. If you want,
dailyWakeup can even
restart the system to get going :) If you want a hands on approach
PMQueueManager will allow
you to schedule
On Fri, 30 Apr 2004, Jerry LeVan wrote:
Anacron does not appear to run cron jobs at at particular time
Yeah, that's the whole point.
The emphasis shifts from I want this maintainence script to run at 3:47
am every Sunday night to this maintainence script needs run once a
week, preferably when
Perhaps it's because I'm not strong on Perl yet, but I took a bit more
of a naive view here --
On 2004.5.1, at 05:22 AM, Joseph Alotta wrote:
Greetings,
I try to back up my system once a week. I have a firewire disk drive
that I use for this purpose. I have been using the Lacie software
that
On Fri, 30 Apr 2004, Sherm Pendley wrote:
At system startup, items are sorted so that the ones that provide a
given service are started before the ones that use or require it.
Overall, I think it's a much more elegant system than the old
numbered rc files scheme. That scheme always brings
On Apr 30, 2004, at 9:29 PM, Chris Devers wrote:
I don't quite understand yet where things are going, but some of the
startup items in 10.3 have been rewritten in such a way that the
service
is, when possible, not launched but primed such that that they're ready
to use on demand but they aren't
On Apr 30, 2004, at 4:58 PM, Jerry LeVan wrote:
Yeah, but the person requesting advice say that he wanted the job
to run at an off time since it tied the machine up for 40 minutes...
It seems that with anacron, I would get into work bright and early, turn
on my machine and it would be useless for
(I just tried, for grins, under 10.2.8, su-ing to an admin user, then
sudo-ing a sh to get a root shell without logging in as root, but
open-ing /Applications/AppleWorks 6 as the root user didn't seem to
do anything other than opening the /Applications directory in a GUI
window. open-ing
On Fri, 30 Apr 2004, Mark Wheeler wrote:
[snip] In the Volumes directory, it lists the following as the mounted
folder:
PRINCETON;DELLSERVER
How do I get into the server? The pathway I tried is:
/Volumes/PRINCETON;DELLSERVER/
That didn't work.
These kinds of things are *always*
On Apr 30, 2004, at 11:54 PM, Chris Devers wrote:
So, it's hard to say what you need to do without knowing what your code
looks like, but bear in mind that Perl's rules for this kind of thing
will be similar to what the shell is doing here.
Not really. The semicolon is the end-of-statement marker
Hi,
Thanks for the help. Below is the code and (although from memory) a
listing of the /Volumes/ directory.
/Volumes/:
10 GB Firewire Drive
eDrive
PRINCETON;DELLSERVER
PRINCETON;DELLSERVER-1
PRINCETON;DELLSERVER-2
PRINCETON;DELLSERVER-3
And the perl code:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Joseph Alotta) wrote:
1. Can iSync be used for backups? I'm not sure if I have iSync
unless it is standard in Panther.
Well, Apple's blurbs seemed to say such things, but I think, when I
read the fine print, it was for backing up to
On May 1, 2004, at 1:08 AM, Mark Wheeler wrote:
PRINCETON;DELLSERVER
my $dirfrom = /Volumes/PRICETON;DELLSERVER/;
Is that code copy-n-pasted? If it is, it's missing an 'N'. ;-)
sherm--
Hi Sherm,
Yes, it's copy-n-pasted! I can't believe I missed that! With that
changed, does everything in the script look in order to function
correctly? Or do I need to change it to
/Volumes/PRINCETON\;DELLSERVER/;
Thanks,
Mark
On Apr 30, 2004, at 10:30 PM, Sherm Pendley wrote:
On May 1, 2004,
On May 1, 2004, at 1:37 AM, Mark Wheeler wrote:
With that changed, does everything in the script look in order to
function correctly? Or do I need to change it to
/Volumes/PRINCETON\;DELLSERVER/;
No, you're using Perl's built-in copy() function, so the back-slash
isn't needed. It's only needed
27 matches
Mail list logo