Answer by slm for Setting up a cron for every 30 hours in Debian
Here's a method for doing what you want with the caveat that it will run every 30 hours from Unix's epoch time.0 * * * * [ $(( $(date +%s) / 360 % 30 )) -eq 0 ] && your_commandThis will run...
View ArticleAnswer by ssokolow for Setting up a cron for every 30 hours in Debian
The simplest solution would probably be to run a cronjob more frequently and use a wrapper script to quit without doing anything if not enough time has passed.To figure out how often you need to run,...
View ArticleAnswer by rici for Setting up a cron for every 30 hours in Debian
Multiple people are correct. */30 is not valid in the hour column, because (in any column), */n means "every whatever which is divisible by n". That's usually explained as "every n whatevers", but...
View ArticleSetting up a cron for every 30 hours in Debian
*/30 */30 * * * python /root/get_top.pyI'm trying to run a script every 30 hours and 30 minutes. Is the syntax above proper for that?I've had multiple people tell me that */30 is not a valid value for...
View Article
More Pages to Explore .....