Jump to content

Search the Community

Showing results for tags 'cron'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Annoucement
    • Latest news for community
  • ClicShoppingV3
    • Documentation
    • Installation & Configuration & Operation
    • Community Developement
    • Best pratices / tip / trips and training
  • General
    • Optimization / Marketing
    • General discussions
    • Archives

Blogs

  • E-commerce General
  • ClicShopping

Product Groups

  • Ambassador
  • Partnership
  • Hosting plan

Categories

  • Apps
    • Apps Payment
    • Apps Configuration
    • Apps Shipping
    • Apps Catalog
    • Apps Communication
    • Apps Customers
    • Apps Marketing
    • Apps Orders
    • Apps Order Total
    • Apps Report
    • Apps Social Network
    • Apps Tools
    • Apps Web Service
  • Design
  • Template
    • modules_boxes
    • modules_products_info
    • modules_front_page
    • modules_footer
    • modules_header
    • modules_index_categories
    • modules_account_customers
    • modules_products_featured
    • modules_products_heart (favorites)
    • modules_blog
    • modules_blog_content
    • modules_checkout_confirmation
    • modules_checkout_payment
    • modules_checkout_shipping
    • modules_checkout_success
    • modules_tell_a_friend
    • modules_contact_us
    • modules_create_account
    • modules_create_account_pro
    • modules_advanced_search
    • modules_login
    • modules_products_listing
    • modules_products_new
    • modules_products_reviews
    • modules_products_search
    • modules_products_special
    • modules_shopping_cart
    • modules_sitemap
    • Autres modules
  • Hooks
    • Hooks Admin
    • Hooks Shop
  • Languages
  • Modules
    • Modules Export
    • Modules Imports
    • Modules Others
    • Modules Dashboard

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 2 results

  1. What is a cronjob ? A cronjob is a service that allows a user to automatically execute a script at a specific time. For example, you can set a particular PHP script to be automatically executed everyday at midnight. How to find the cronjob command ? Go to your website admin / tools / Cronjob To run all the cron just add in your Cpanel this line : wget http://mywebsite.com/index.php?cronjob&runall --read-timeout=5400 Setup in cPanel : Set up cron jobs through cPanel using this procedure: Log on to your cPanel Interface. Go to 'Advanced' section. Click on "Cron Jobs". Select the specific time from the lists provided. You should enter the command to run in the "Command" field. You should make sure to enter the proper command and the full path to the file.
  2. Hello, This tutorial allow you to create a cron to save your db in daily. if you want to change the delay, you can use this site to help you : https://crontab-generator.org/ Inside your server create a files : saveCronTabDb.sh with execute right (chmod 755) #!/bin/bash DB_USER='MyUserName' DB_PASS='MyPassword' DB_HOST='localhost' DB_NAME='MyTable' mysql -u${DB_USER} -p${DB_PASS} -h${DB_HOST} $DB_NAME < "/var/www/xxx/xxx/web8/web/myDbdirectory/myDbfilesToSave.sql" Now you can create your crontab with this command: In this case all the 21hr everyday * */21 * * * /var/www/xxx/xxx/web1/private/saveCronTabDb.sh > /var/www/xxx/xxx/web1/private/cron.log To test your cron : sh saveCronTabDb.sh To see your cron sudo crontab -l Ah do not forget to protect your directory with an htaccess # Disable directory browsing Options -Indexes <Files .htaccess> Order allow,deny Deny from all </Files>
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use