how to set cronjob for 2 days? [closed]

From here: Cron also supports ‘step’ values. A value of */2 in the dom field would mean the command runs every two days and likewise, */5 in the hours field would mean the command runs every 5 hours. e.g. * 12 10-16/2 * * root backup.sh is the same as: * 12 10,12,14,16 * * … Read more

Cron every day at 6 pm

0 18 * * * command to be executed ^ you need to set the minute, too. Else it would be running every minute on the 18th hour How to setup a cronjob in general: # * * * * * command to execute # │ │ │ │ │ # │ │ │ │ … Read more

Daylight Savings and Cron

The answer would be dependent on the variant/extension of cron you are using. Some variants do not handle the Daylight Saving Time, leading to missing jobs and twice run of the job. If you are using the Paul Vixie cron, then it does handle the DST changes. As per the cron man page: cron checks … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)