A section to create and manage cron jobs such as clearing cache, optimizing database, regenerating sitemap, etc...
actually, it shouldn't be too hard to implement providing you can create a single cron job on your server.. you can have a cron-manager in CSC that calls the appropriate action when the default cron job runs..
i.e. you create a cron.php that runs every 10 minutes or however long you want, and it checks the DB to see if there are any actions that need to run at that specific time (or since the last time the cron ran), if there is, it executes them, otherwise, it does nothing except updating a datetime pointer saying the last time it was run.
We have admin actions by cron add-on: http://www.cart-power.com/cs-cart-admin-actions-by-cron-add-on.html
Cron job for creating a robust and detailed import/export of ALL product fields would be a great help. At this moment (july 2014) there is no robust way of linking ERP product data with CS-Cart
send an email to a customer after 'x' days if order status = 'x'
What I think also should be in this add-on should be auto-mailer.
for example if an order is placed and shipped the status will be automatically changed after X days to 'Review to customer'. Same with after X days if status is 'Open' change status to ''Order Remember".
Cron job for import/export is needed.
At what place in CS backend, its already running..?
Can you please let me know. I will figure it out myself for my custom module, that will have to get the xml files in a timely manner.
Yes, this would be great. An explanation of how it works would be a must too. There are other places to already do cron jobs in CS, but there doesn't seem to be any good documentation for beginners.
It is great ideea becouse i want to have this addon for optimize every day database and i want to set backup every week automatic and all mentenance service automatic
There is zero documentation on CRON job configuration.
A page that says:
"Please enter the following CRON job into your control panel:
and set frequency to ____ mins / hours / days"
Then within this page, you could configure individual schedules for:
- Currency updates (YES!)
- Logs and cache clearing
- SQL Backup
- SQL Optimisation
- Template Backup
PLEASE? PRETTY PLEASE?
Torann Marks commented
A Cron Job Manager would be a wonderful addon, with the ability to allow other addons to interface with it.
Say we had a currency addon, after installing it you would be allowed to add it to the 1 hour job, 2 hour job or whatever.
Of course this wouldn't be for a novice user.
Lee Li Pop commented
Not very easy to implement, because some hosting company do not have this Cron Job functionality. On the other hand, with a little learning, it is easy to setup a basic Cron Job.
In the 3 tasks listed by The Tool 2 can be made by a basic Cron Job (Clearing cache and Optimizing database) and another by adding an addon to CS-Cart (Regenerating sitemap).
However, would it be better, in the Sitemap case, that this Sitemap could be generated each time as another classic page?
Of course, others Cron Jobs would be interesting to add to CS-Cart.
high priority addon
If your server doesnt have that built in you should find another host.
Couldn't agree more. We've wanted this functionality for years.
just curious - can most people not set up cron jobs on their server? (It's super easy for me ...)
woo - currency updates.... nice get my vote
And also for database automatic backup.