LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2009, 10:40 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Need help with OTRS?


I need to set the cronjob for a report generated script. I want it to generate every last day of the month.Now some month have 28, 20 and 31 days.
How can I make it run accordingly.

Last edited by your_shadow03; 12-16-2009 at 10:54 PM.
 
Old 12-16-2009, 11:15 PM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I read it through http://www.unix.com/unix-dummies-que...ek-report.html

And modified as shown below:
Code:
58 23 * * * [ `date +%d` -eq `echo \`cal\` | awk '{print $NF}'` ] && myJob.sh
Will this work?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OTRS Notifications makemorebeer Linux - Software 2 11-25-2008 08:11 AM
otrs? ajeetraina Linux - Server 0 03-17-2008 02:57 AM
OTRS problem asi.linux Linux - Enterprise 0 07-07-2007 08:57 AM
OTRS. Any experience? otrs.org seems down. pachakutek General 3 01-19-2007 03:22 PM
Otrs nalthen Linux - Software 0 01-31-2006 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration