A
Andrew Thompson
Hey folks!
New to perl programming, started (checks watch)
3 hours ago.
The task I am trying to achieve:
Delete all folders within the 'public_compile'
directory located at the root of my site.
I understand from trawling through past posts to
the group that the following should do it,..
'for(</public_compile/*>){ unlink if -M>1 }',
...but I am somewhat nervous to give it to my
server as a 'cron-job' since it deletes and uses
a wild-card.
I would test it on my local server but I cannot,
for the life of me, figure how to set up a cron-job
using the Apache 'manager' interface. [ On the live
server thay are running cPanel - so simple even I
can understand it (..mostly). ]
So, the question (_finally_)..
Will the line above have the effect I want?
TIA
New to perl programming, started (checks watch)
3 hours ago.
The task I am trying to achieve:
Delete all folders within the 'public_compile'
directory located at the root of my site.
I understand from trawling through past posts to
the group that the following should do it,..
'for(</public_compile/*>){ unlink if -M>1 }',
...but I am somewhat nervous to give it to my
server as a 'cron-job' since it deletes and uses
a wild-card.
I would test it on my local server but I cannot,
for the life of me, figure how to set up a cron-job
using the Apache 'manager' interface. [ On the live
server thay are running cPanel - so simple even I
can understand it (..mostly). ]
So, the question (_finally_)..
Will the line above have the effect I want?
TIA