877938 wrote:i dont think you can accomplish it even using AT.............
Thanks for your reply.
Can it be possible using AT (linux scheduler)?
Dude wrote:But that would be once a month, just 10 days later than the day of the month you have your cron job set to run.
I have never tried it, but it may work to combine cron with at, e.g. to create a cron task that runs once a month and uses at to delay the execution for another 10 days.
Edited by: Dude on Nov 14, 2012 9:10 AM
Put that in a cron job, and if the remainder is whatever single value you pick, run your job. Else do nothing.
#!/bin/bash now=`date "+%s"` today=$(( $now / 86400 )) rem=$(( $today % 40 ))