How run cron every xy day?

Hello all,
how run cron the days what I want? Examples:


cronss

Use */2

But this only every second day like 2,4,6,8,10… I need the 1,3,7,9,11…

1-31/2

“1-31” is same like all days “*”, no?

No,

Today I test it, thank you.

Is safe to load: wget -q -O “site.com/my.php” > /dev/null 2>&1
multiple sites cron at same minute? (4 site with WP All import plugin)

maybe you can run them sequentially. To do that you may create a script like this:

cron.sh
#!/bin/bash
wget -q -O “site1.com/my.php
wget -q -O “site2.com/my.php
wget -q -O “site3.com/my.php
wget -q -O “site4.com/my.php

and have the cron execute:
cron.sh > /dev/null 2>&1

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.