Hi,
I'd need to clone a product every week and change "only" 3 of it's parameters:
- Date Publish Up (+7 days)
- Date Publish Down (+7 days)
- Alias (to avoid extra long alias name, at the end of the alias name, keep only the Id of the last cloned product...)
Is there a way to do that in an auto or semi-auto mode?
Is there an already existing PHP code for cloning that I could use as a base code for a CRON task?
::)
Thanks for your help!
PAul
QuoteIs there an already existing PHP code for cloning that I could use as a base code for a CRON task?
No
Quotef you have already created a cron job in your panel, you can view it by running crontab -e under your Shell user. If you edit the file to add another cron job below the existing panel one, the panel cron job will continue to function normally in addition to your new edited code.
I don't understand - why you are talking about how to set up cron?
The question is about PHP code == create custom php code and this code calling by cron.
The question is not how setup cron, or is my mistake?
He's a spammer .. banned