Search found 16 matches

by fvteamsports
Mon Apr 08, 2019 10:34 am
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Re: Cron job errors

That is what I needed! Seems to be working now.
Thank you.
by fvteamsports
Sat Apr 06, 2019 10:40 am
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Re: Cron job errors

Below are some more attempts: NO LUCK: user@timetrex:~$ su www-data -c "/usr/share/timetrex/html/maint/cron.php" Password: su: Authentication failure NO LUCK: user@timetrex:~$ su root -c "/usr/share/timetrex/html/maint/cron.php" Password: /usr/share/timetrex/html/maint/cron.php: line 1: ?php: No suc...
by fvteamsports
Fri Apr 05, 2019 7:04 pm
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Re: Cron job errors

Here is some more info. I can manually run the jobs but I get this output below. user@timetrex:~$ sudo php /usr/share/timetrex/html/maint/cron.php ERROR: Running as 'root' forbidden! To avoid permission conflicts, must run as the web-server user instead. Example: su www-data -c "/usr/bin/php /usr/sh...
by fvteamsports
Thu Apr 04, 2019 11:09 am
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Re: Cron job errors

Took the $ off and it still doesn't work.
Can you post an example to a string that is known to work?
by fvteamsports
Wed Apr 03, 2019 11:55 am
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Re: Cron job errors

Sorry screwed that one up also, here it is:

* * * * * su www-data -c "/usr/share/timetrex/html/maint/cron.php"> /dev/null$
by fvteamsports
Wed Apr 03, 2019 11:51 am
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Re: Cron job errors

Sorry about that, the cut and paste missed the end and I didn't catch it. This is the full string in the crontab: * * * * * su www-data -c "/usr/bin/php /usr/share/timetrex/html/maint/cron.php"> /dev/null$ ( I have also tried editing that string in multiple ways with no luck, I even set times for it...
by fvteamsports
Sat Mar 30, 2019 1:47 pm
Forum: Installation Help
Topic: Cron job errors
Replies: 9
Views: 184

Cron job errors

I can not get the crontab to work. This is what I have in crontab -e but it will not perform a maint job. * * * * * su www-data -c "/usr/bin/php /usr/share/timetrex/html/maint/cron.p$ I tried changing users in the above string and also "chown" the directories to every combination I can think of. I c...
by fvteamsports
Sun Mar 24, 2019 1:52 pm
Forum: Installation Help
Topic: Restore database and files in Linux Ubuntu
Replies: 6
Views: 826

Re: Restore database and files in Linux Ubuntu

Found it:
usr/share/timetrex/html/interface

Images are stored here in v18 ubuntu
by fvteamsports
Sun Mar 24, 2019 1:20 pm
Forum: Installation Help
Topic: Restore database and files in Linux Ubuntu
Replies: 6
Views: 826

Re: Restore database and files in Linux Ubuntu

Ok. I was able to restore the database. I needed to create an Ubuntu username the same as the database user name to avoid the "peer to peer" error. This then worked doing a pg_restore while logged in as the same user name. Now, I just need to know where to upload the "storage" files to. No "storage"...
by fvteamsports
Sat Mar 23, 2019 2:31 pm
Forum: Installation Help
Topic: Restore database and files in Linux Ubuntu
Replies: 6
Views: 826

Re: Restore database and files in Linux Ubuntu

I still have no luck migrating from Windows to Ubuntu. I can't restore using pg_restore, typing that in terminal does nothing. Any further directions on how to do this? Like what directory to run pg_restore in and what it should look like when the "timetrex_database.sql" is located in the tmp direct...
by fvteamsports
Fri Mar 08, 2019 4:23 pm
Forum: General Discussion
Topic: Clock out message
Replies: 1
Views: 70

Clock out message

Is there a way to add a message to pop up when people log out?
Like, don't forget to clean up before you leave... etc...
by fvteamsports
Thu Feb 08, 2018 10:33 am
Forum: Installation Help
Topic: Restore database and files in Linux Ubuntu
Replies: 6
Views: 826

Re: Restore database and files in Linux Ubuntu

Yep, I have used that page to migrate Windows to windows a few times, works great windows to windows. Wasn't able to find any Linux commands in restore_database.bat file. Do you know where the database is located in linux? There is no "timetrex" folder directly on the C: drive in Linux. This is step...
by fvteamsports
Wed Feb 07, 2018 6:58 pm
Forum: Installation Help
Topic: Restore database and files in Linux Ubuntu
Replies: 6
Views: 826

Restore database and files in Linux Ubuntu

I'm upgrading from Windows to Ubuntu 16.04 server and need help on what files to transfer and how to update the database. The files and folders in Windows are different from the ones in Linux (a drag and drop is not possible). I have Timetrex up and running on the new computer (linux) but now I need...
by fvteamsports
Wed Jan 25, 2017 11:03 am
Forum: General Discussion
Topic: Punch in
Replies: 0
Views: 1521

Punch in

I can't seem to find a way to do the following: *To limit an employee to only be able to punch in during scheduled hours. In other words, if they are not scheduled they can not punch in. *Not allow multiple "in" or "out" punches in a row. If they are already in, they should not be able to repeatedly...
by fvteamsports
Mon Jan 23, 2017 11:05 am
Forum: General Discussion
Topic: Dashlets
Replies: 1
Views: 1527

Dashlets

Is it possible to add the "whosin" dashlet to the regular employee dashboard. Right now it does not show on the dropdown to select dashlets. It is an option for administrators, but not regular employees. I can't seem to find a permission to allow this?
Thank you!