Jan
Multiple Add Cron Job
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multiple Add Cron Job
Hi, I think such behaviour cannot be added into the component, as this needs to be solved mostly in server (cron) ... The problem of frontend is the security, so there are and will be some restrictions 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
gemlog
- Phoca Newbie

- Posts: 4
- Joined: 30 Oct 2009, 06:49
Re: Multiple Add Cron Job
Hi Jan,
This is similar, but not quite the same question.
I rsync a dir via ssh on a cron to the server using keys. I would like to trigger the new category/thumbnail creation and also the "clean-up" code you have for deleted images and orphaned thumbnails using a cronjob on the server.
I could feed args to your code using datestamps to find new files and dirs. I'm only looking for hints to which files control those things I want to trigger.
I'm hoping it's deep enough in there that I can just copy it and avoid the joomla libs and authentication issues and just run my resulting script as apache user.
This is similar, but not quite the same question.
I rsync a dir via ssh on a cron to the server using keys. I would like to trigger the new category/thumbnail creation and also the "clean-up" code you have for deleted images and orphaned thumbnails using a cronjob on the server.
I could feed args to your code using datestamps to find new files and dirs. I'm only looking for hints to which files control those things I want to trigger.
I'm hoping it's deep enough in there that I can just copy it and avoid the joomla libs and authentication issues and just run my resulting script as apache user.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multiple Add Cron Job
Hi, sorry but I have no experiences with cron jobs, so I don't know 
If you find Phoca extensions useful, please support the project