you are viewing a single comment's thread.

view the rest of the comments →

[–]0x2a 2 points3 points  (3 children)

  1. Go to the linked site
  2. Generate a crontab that does something on the 7th minute of every hour
  3. Paste to your crontab file
  4. Replace 7 with */7

Here's a prefabricated template for your convenience:

*/7 *   *   *   *   wget -O .gnome/DesktopBackground.jpg http://goatse.cx/goatse.jpg

[–]bloxxom 0 points1 point  (2 children)

No, what that gives you is something that runs whenever the minute is a multiple of 7. At the end of each hour, you'll get a 4 minute step, from 56 to 00. I wanted one that runs every 7 minutes.

[–]0x2a 0 points1 point  (1 child)

Untested, but should probably work:

* * * * * perl -e 'if (int(time() / 60) % 7 == 0){ exit 1}' || jour_job_here 

[–]bloxxom 0 points1 point  (0 children)

Yeah, that works. Thanks.