Re: [PHP-DB] Cron unlink

2006-07-02 Thread Chris
Ron Piggott (PHP) wrote: Does anyone have experience in getting unlink to work within the context of a cron? I created my own garbage collection function and I am trying to delete some session files through a cron that runs every 10 minutes. The session files are owned by 'www' The cron is ran

Re: [PHP-DB] Cron unlink

2006-07-02 Thread Dave W
You have to use the absolute (or server, whatever you want to call it) path. So like/home/www/sessions/files/ or whatever it is. On 7/2/06, Ron Piggott (PHP) [EMAIL PROTECTED] wrote: Does anyone have experience in getting unlink to work within the context of a cron? I created my own

Re: [PHP-DB] Cron unlink

2006-07-02 Thread Dave W
oops. yea, chris is right. I thought you were trying to delete files. On 7/2/06, Dave W [EMAIL PROTECTED] wrote: You have to use the absolute (or server, whatever you want to call it) path. So like/home/www/sessions/files/ or whatever it is. On 7/2/06, Ron Piggott (PHP) [EMAIL PROTECTED]