[Skip to main content](#vessel-content)

#   cron: no order csv

##

- **[chli](/forum/user/64945-chli "View chli's Profile")**
- [![chli's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64945-chli "View chli's Profile") Topic Author
- [ Offline](/forum/user/64945-chli)

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340324](#340324) by [chli](/forum/user/64945-chli "View chli's Profile")  *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340324 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")* was created by *[chli](/forum/user/64945-chli "View chli's Profile")*

-- HikaShop version -- : 4.5.0
-- Joomla version -- : 3.10.6

Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support.
Settings:
- After an order is created
I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14290
-
-

4 years 7 months ago [\#340327](#340327) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340327 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi,

Could you provide a screenshot of the settings of your mass action ? The path should be the file path. You can enter the absolute file path.
For example: /var/user/www/mywebsite/export.csv
But what path to enter will depend on your web server's setup.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chli](/forum/user/64945-chli "View chli's Profile")**
- [![chli's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64945-chli "View chli's Profile") Topic Author
- [ Offline](/forum/user/64945-chli)

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340341](#340341) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340341 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi,

thanks for answer.
I tested with path:
- /home/www/moellerstonecare-shop.de/orderexport
and
- /home/www/moellerstonecare-shop/orderexport
but no result.

[ ![Hika-Cron-Order.jpg](/forum/attachment/54569) ](/forum/attachment/54569 "...Cron-Order.jpg")

- [ ![Hika-Cron-Order.jpg](/forum/attachment/54569) ](/forum/attachment/54569 "...Cron-Order.jpg") [ ](/forum/attachment/54569?download=1 "...Cron-Order.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14290
-
-

4 years 7 months ago [\#340345](#340345) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340345 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi,

Well, as my example in the previous message, the path needs to be the path of a file not a folder, so it should end with .csv
Also, I'm surprised of both your tests. Do you mean that you're not sure about the root folder path of your website on your server ?
Because you need to confirm that first. Otherwise, if you use a path which isn't for your website root path, PHP might not be able to write the file on the disk.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chli](/forum/user/64945-chli "View chli's Profile")**
- [![chli's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64945-chli "View chli's Profile") Topic Author
- [ Offline](/forum/user/64945-chli)

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340355](#340355) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340355 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi there,

I have now assigned a file name, then the CSV was sent to me by email. But I don't want it that way, I would like the CSV to be stored on the ftp server.

AND: If I store a fixed file name, the file (ftp storage) will always be overwritten if I don't read it immediately (download)?!

How do you know this isn't my root path? I found this root path with filezilla.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14290
-
-

4 years 7 months ago [\#340360](#340360) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340360 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi,

If you don't want the CSV file to be sent by email, just leave the email address field empty in your mass action.

The file will indeed be overwritten. If you don't want that, you can add the tag {time} in the file path so that the date will be added to the name of the CSV file. That way, the file won't be replaced.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chli](/forum/user/64945-chli "View chli's Profile")**
- [![chli's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64945-chli "View chli's Profile") Topic Author
- [ Offline](/forum/user/64945-chli)

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340378](#340378) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340378 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi there,

Thank you for the feedback.

First of all because of the path: In my case it was sufficient to just specify the subdirectory, i.e. /orderexport/xxx.csv. It works.

And then because of the file name: order{time}.csv works, e.g. order2022-03-24_07-38.csv is output.
BUT: is there also a {time} variable that also outputs the seconds? The output of only minutes can be problematic, since another order can come in exactly in this minute, which then overwrites this again. 60 seconds can be very long!
Another solution: is it possible to include the order ID? (variable?)

Many thanks for the support.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14290
-
-

4 years 7 months ago [\#340393](#340393) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340393 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Hi,

The format of the date there comes from the translation key:
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M"
So you can use a translation override to add the seconds like so:
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M:%S"
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)

There is no mechanism to have other tags. It could be possible with some modifications of the code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chli](/forum/user/64945-chli "View chli's Profile")**
- [![chli's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64945-chli "View chli's Profile") Topic Author
- [ Offline](/forum/user/64945-chli)

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340398](#340398) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[cron: no order csv](/forum/37-import-export-csv-xls/904156-cron-no-order-csv#340398 "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6  Hello, I created a cron job that should save a order as a csv. But I don't get a csv file. It is also unclear how the storage path should be specified. I look forward to support. Settings: - After an order is created I do receive an email with the note mass action CSV date, but the text only says: CSV file exported to: 2022-03-21 14:16")*

Thanks for the feedback, then I'll let it run including the seconds and see if hopefully other orders aren't made in the same second.:whistle:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDQxNTYtY3Jvbi1uby1vcmRlci1jc3Y/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.089 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
