LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-06-2016, 08:51 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
cron job expression trigger


Hi,
I have a program called FormReturn. It marks multiple choice forms. It is a Java program (I think).

It has a task scheduler. The task scheduler can take a cron job.

I want to set it to check a folder every Friday at say 11pm.

What does a cron job trigger expression normally look like? I have no idea of the syntax for that kind of thing.

FormReturn support just asked me why I wanted to do that, they did not give me the syntax and it is not in their help file.

I've attached a screenshot of the relevant window.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2016-06-07 09:42:34.png
Views:	23
Size:	35.3 KB
ID:	22037  

Last edited by Pedroski; 06-06-2016 at 08:54 PM.
 
Old 06-07-2016, 04:22 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by Pedroski View Post
What does a cron job trigger expression normally look like? I have no idea of the syntax for that kind of thing.
Not sure what that program actually is asking for but you can find the format for cron entries in the manual page(s). Configuration file are described in section 5: m h dom mon dow command

Code:
man 5 crontab
Each user will have their own crontab.

There are also system cron files. System cron files will have a little bit different structure. The user there is specified in the 6th column. But your program is probably not going to be using them.
 
Old 06-07-2016, 08:00 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I did find this from their website. The link to quartz-scheduler.org is broken but I did find some information.

Quote:
Cron Expression Trigger

Trigger a task at a specific time or schedule with a Cron expression. FormReturn uses Quartz Scheduler for its task scheduling system and works the cron expressions found here: http://www.quartz-scheduler.org/docu...ls/crontrigger
http://help.formreturn.com/server_fo..._settings.html
http://www.quartz-scheduler.org/docu...lesson-06.html
 
Old 06-13-2016, 03:43 AM   #4
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Thanks for that:

there is a bug in the program. It takes the quartz scheduler expression, but the next time you look, under edit task, the syntax is gone, all you see is the 'poll frequency'.

I put a cron job style expression in. That messed everything up. It was not possible to create any new task after that. Only a complete removal and reinstall fixed that. Lost all my data. Actually, I saved it, but when I reinstate it, the problem is also there again! The problem gets saved with the data!


Haven't heard from the support since then. FormReturn is good, it cost me $ 700, but a bit of support would be good!
 
  


Reply



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
Cron job starts 6 hours late, rest of cron jobs work fine pieterhouwen Linux - Newbie 33 10-05-2015 12:38 PM
Cron Job Not Running - Looks Like Cron Tried Noble User Linux - Newbie 7 10-26-2014 10:26 AM
how to abort cron if the previous cron job not yet finished? Winanjaya Linux - Newbie 2 05-22-2012 06:44 PM
linux cron job duplicate job question cpthk Linux - Newbie 4 09-11-2009 08:52 PM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 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
Open Source Consulting | Domain Registration