Can I schedule automated website tasks, such as a product import?

Can I schedule automated website tasks, such as a product import?

You can schedule automated tasks using tools such as cron, if your hosting service supports them. First, check your application’s requirements and the service limits: permitted frequency, execution time and available resources. For an import, test the script with a small dataset before scheduling it.

Use the command and path specified in the application’s documentation, check the time zone and choose an interval suited to the workload. Prevent a new run from starting while the previous one is still running. Keep error logs and avoid exposing passwords or access keys in public URLs. In WordPress, some scheduled tasks depend on website visits by default, so they may run late when traffic is low.

RELATED QUESTIONS

Here are a few more questions whose answers may interest you. We answer important, practical questions for our customers.

SUBSCRIBE TO OUR NEWSLETTER

Join our newsletter. We only use it to share important information.

Newsletter subscription illustration